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

40 lines
934 B

9 months ago
const CopyWebpackPlugin = require("copy-webpack-plugin");
2 years ago
module.exports = {
9 months ago
publicPath: "/",
2 years ago
configureWebpack: {
plugins: [
new CopyWebpackPlugin([
9 months ago
{
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/",
},
2 years ago
// {
// patterns: [{
// from: './public/static', to: 'static'
// }]
// }
9 months ago
]),
2 years ago
],
// externals: {
// 'BMap': 'BMap',
// 'BMap_Symbol_SHAPE_POINT': 'BMap_Symbol_SHAPE_POINT'
// }
11 months ago
},
9 months ago
css: {
loaderOptions: {
sass: {
prependData: `@import "~@/loveflow/assets/index.scss";`,
},
},
},
devServer: {
port: "2911",
},
};