mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-08-11 19:20:57 +00:00
v1.0.8
This commit is contained in:
@@ -12,7 +12,6 @@ const productionGzipExtensions = ['js', 'css'];
|
||||
// 如果您的应用程序部署在子路径中,则需要在这指定子路径
|
||||
// 例如:https://www.foobar.com/my-app/
|
||||
// 需要将它改为'/my-app/'
|
||||
// iview-admin线上演示打包路径: https://file.iviewui.com-dist/
|
||||
const publicPath = process.env.NODE_ENV === 'production' ? '/' : '/';
|
||||
const lintOnSave = process.env.NODE_ENV === 'production';
|
||||
|
||||
@@ -35,8 +34,8 @@ module.exports = {
|
||||
vendors: './src/vendors'
|
||||
};
|
||||
config.module
|
||||
.rule('iview')
|
||||
.test(/iview.src.*?js$/)
|
||||
.rule('view-design')
|
||||
.test(/view-design.src.*?js$/)
|
||||
.use('babel')
|
||||
.loader('babel-loader')
|
||||
.end();
|
||||
|
||||
Reference in New Issue
Block a user