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.
25 lines
698 B
25 lines
698 B
const CopyWebpackPlugin = require('copy-webpack-plugin');
|
|
module.exports = {
|
|
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/' },
|
|
// {
|
|
// patterns: [{
|
|
// from: './public/static', to: 'static'
|
|
// }]
|
|
// }
|
|
])
|
|
],
|
|
// externals: {
|
|
// 'BMap': 'BMap',
|
|
// 'BMap_Symbol_SHAPE_POINT': 'BMap_Symbol_SHAPE_POINT'
|
|
// }
|
|
}
|
|
}
|
|
|
|
|