Skip to content

Path to dist file isn't right in the examples for new plugin #41

Description

@jodeleeuw

When I check the example/index.html in a new plugin, I see this as the path for loading the plugin:

<head>
  <title>jsPsychPluginMosaicChoice Example</title>
  <script src="https://unpkg.com/jspsych"></script>
  <!-- Load the published plugin package here, e.g.
<script src="https://unpkg.com/plugin-mosaic-choice"></script>
<script src="../dist/index.global.js"></script> -->
  <script src="../dist/index.global.js"></script>
  <link rel="stylesheet" href="https://unpkg.com/jspsych/css/jspsych.css">
</head>

This points to index.global.js. The dist directory has:

Image

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions