// vue.config.js
const CSSSplitWebpackPlugin = require('css-split-webpack-plugin').default;
module.exports = {
configureWebpack: { // webpack plugins
plugins: [ new CSSSplitWebpackPlugin({ size: 1000, filename: 'css/[name]-[part].[ext]' }), ], },
productionSourceMap: false,
}
网友评论