Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How about set another name when build the package? #52

Open
Tongzhao9417 opened this issue Jan 2, 2024 · 0 comments
Open

How about set another name when build the package? #52

Tongzhao9417 opened this issue Jan 2, 2024 · 0 comments

Comments

@Tongzhao9417
Copy link

Thank you very much for providing this useful tool! I have encountered a problem now, which may be relatively niche, but I really can't solve it.
The situation is as follows: my experiment needs to be divided into two parts, so I wrote two programs separately using jspsych-builder and packaged them through "npm run jatos". Now I need to upload my programs on JATOS, they should be component1 and component2. Here's the problem: because the packaged programs have the same structure and the same name, when JATOS reads the second component, it automatically fills in the content of component1. So I was wondering if I could specify another name (e.g., app2.js) during packaging so that there would be no conflict between component1 and component2.
Can this be achieved? Or do you have a better solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant