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:
