cjs format bulid bug
xgqfrms opened this issue · comments
xgqfrms commented
xgqfrms commented
full source codes
EGOIST commented
The syntax to load plugins via CLI flag is --plugin.vue
now
xgqfrms commented
not work still, what's wrong with it?
module.exports = {
banner: true,
output: {
extractCSS: false,
},
plugins: {
vue: {
css: true
},
},
};
xgqfrms commented
EGOIST commented
Remove the quote '
around your 'src/index.js'
, probably it's a Windows issue.
btw you don't need to include the plugin twice.
xgqfrms commented
EGOIST commented
yeah, use either cli flag or config file, no need for both
xgqfrms commented
OK, I'd like using the bili.config.js
, it's more easy read & write.
Thanks a lot!
xgqfrms commented
xgqfrms commented
xgqfrms commented
EGOIST commented
use a rollup plugin for this
xgqfrms commented
EGOIST commented
well don't post unrelated stuff here as this issue is considered resolved.