Skip to content

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

@jodeleeuw

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

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