You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pingAnQiYeWeb/vue.config.js

32 lines
821 B

2 years ago
const CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = {
2 years ago
publicPath: '/',
2 years ago
configureWebpack: {
plugins: [
new CopyWebpackPlugin([
{ from: 'node_modules/@liveqing/liveplayer/dist/component/crossdomain.xml' },
{ from: 'node_modules/@liveqing/liveplayer/dist/component/liveplayer.swf' },
{ from: 'node_modules/@liveqing/liveplayer/dist/component/liveplayer-lib.min.js', to: 'js/' },
// {
// patterns: [{
// from: './public/static', to: 'static'
// }]
// }
])
],
// externals: {
// 'BMap': 'BMap',
// 'BMap_Symbol_SHAPE_POINT': 'BMap_Symbol_SHAPE_POINT'
// }
10 months ago
},
css:{
loaderOptions:{
sass:{
prependData:`@import "~@/loveflow/assets/index.scss";`
}
}
2 years ago
}
}