unbuild
unbuild copied to clipboard
How to Customize Change File Suffix
.mjs - > .js .cjs -> .cjs
or
.mjs - > ${name}.esm.js .cjs - > ${name}.cjs.js
Because when I introduced the plugin with the test project, there was an error
Can't import the named export 'useRequestSign' from non EcmaScript module (only default export is available) friendly-errors 13:15:54