Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated build script for vanilla js projects
Updated the build script to check if the `import` line for a file is referencing the editor scripts base package, and when there is a match the `import` statement will be changed from: ```js from "@phaserjs/editor-scripts-base.js"; ``` to ```js from "../../phaserjs_editor_scripts_base/index.js"; ``` This fix has a few limitations: * if any other npm packages are added to this library, this change will not fix those * the generated `phaserjs_editor_scripts_quick` needs to be placed at the root of the phaser editor project, next to the original location of the `phaserjs_editor_scripts_base` folder. Signed-off-by: Scott Westover <[email protected]>
- Loading branch information