使用了js-beautify,配置externalGlobals打包后报错
xFeny opened this issue · comments
Please provide the project files to reproduce this issue.
the exportVarName of js-beautify
is beautifier
- cdn.unpkg("js-beautify", "xxx")
+ cdn.unpkg("beautifier", "xxx")
A vite plugin server and build your.user.js for userscript engine like Tampermonkey, Violentmonkey, Greasemonkey, ScriptCat
Repository from Github https://github.comlisonge/vite-plugin-monkey
xFeny opened this issue · comments
Please provide the project files to reproduce this issue.
the exportVarName of js-beautify
is beautifier
- cdn.unpkg("js-beautify", "xxx")
+ cdn.unpkg("beautifier", "xxx")