调解link
This commit is contained in:
@@ -2,11 +2,6 @@ const path = require('path');
|
||||
module.exports = {
|
||||
lintOnSave: false,
|
||||
productionSourceMap: false,
|
||||
// css: {
|
||||
// loaderOptions: {
|
||||
// sass: {data: `@import './lib/app-common.scss';`}
|
||||
// }
|
||||
// },
|
||||
//多页面配置
|
||||
pages: {
|
||||
index: {
|
||||
@@ -17,13 +12,6 @@ module.exports = {
|
||||
},
|
||||
transpileDependencies: [/node_modules[/\\]dvcp-dv-ui/, /node_modules[/\\]dvcp-ui(.+)utils.js/],
|
||||
chainWebpack: (config) => {
|
||||
//webpack配置 packages为组件源码根目录 增加packages进入编译
|
||||
// config.module
|
||||
// .rule('images')
|
||||
// .use('image-webpack-loader')
|
||||
// .loader('image-webpack-loader')
|
||||
// .options({bypassOnDebug: true})
|
||||
// .end();
|
||||
config.module
|
||||
.rule('js')
|
||||
.include.add(path.resolve(__dirname, 'packages'))
|
||||
|
||||
Reference in New Issue
Block a user