Merge branch 'liwei' of http://8.136.197.230:3000/ZheJiangNingBo/pingAnQiYeWeb into liwei
commit
36380da9ea
@ -1,31 +1,39 @@
|
||||
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
||||
const CopyWebpackPlugin = require("copy-webpack-plugin");
|
||||
module.exports = {
|
||||
publicPath: '/',
|
||||
publicPath: "/",
|
||||
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/' },
|
||||
{
|
||||
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'
|
||||
// }
|
||||
},
|
||||
css:{
|
||||
loaderOptions:{
|
||||
sass:{
|
||||
prependData:`@import "~@/loveflow/assets/index.scss";`
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
css: {
|
||||
loaderOptions: {
|
||||
sass: {
|
||||
prependData: `@import "~@/loveflow/assets/index.scss";`,
|
||||
},
|
||||
},
|
||||
},
|
||||
devServer: {
|
||||
port: "2911",
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in new issue