Skip to content

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

Description

@Tongzhao9417

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions