WickPM - #197
Conversation
…com/hobbsythe6th/Candlestick into engine-package.json-update-betterer
…stick into vite-migrate
…y exists todo: make uninstall() exist
|
I don't like the way WickPM works. Firstly, the name WickPM is misleading, it doesn't load scripts or objects made for Wick Editor. Secondly, I'm pretty sure you can just do |
|
No, you can't, you get main.381ffc55.js:2 Error: Unexpected token on line 1 in script "default". |
WickPM is a package manager class that generates a script tag on the DOM to use to artificially construct esm.sh import statements, which are then attached to WickPM.imports . This PR has attached WickPM, WickPM.imports, and WickPM' s install/uninstall functions to the global API. It's also branched off the Rolldown migration branch of my fork (sorry), but the changed files from that are:
GlobalAPI.js,
WickPM.js,
Wick.mjs (some tiny import updates),
Editor.jsx,
and Project.js .