mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
Merge branch 'master' of gitlab.qima-inc.com:fe/zanui-vue
This commit is contained in:
commit
0637c6eeeb
@ -10,7 +10,8 @@ module.exports = {
|
|||||||
|
|
||||||
env: {
|
env: {
|
||||||
es6: true,
|
es6: true,
|
||||||
node: true
|
node: true,
|
||||||
|
mocha: true
|
||||||
},
|
},
|
||||||
|
|
||||||
plugins: ['vue'],
|
plugins: ['vue'],
|
||||||
@ -25,10 +26,6 @@ module.exports = {
|
|||||||
require: true
|
require: true
|
||||||
},
|
},
|
||||||
|
|
||||||
env: {
|
|
||||||
mocha: true
|
|
||||||
},
|
|
||||||
|
|
||||||
rules: {
|
rules: {
|
||||||
'accessor-pairs': 2,
|
'accessor-pairs': 2,
|
||||||
'arrow-spacing': [2, { 'before': true, 'after': true }],
|
'arrow-spacing': [2, { 'before': true, 'after': true }],
|
||||||
|
@ -4,7 +4,7 @@ const to2 = require('2webpack2');
|
|||||||
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
|
const ProgressBarPlugin = require('progress-bar-webpack-plugin');
|
||||||
const getPostcssPlugin = require('../../build/utils/postcss_pipe');
|
const getPostcssPlugin = require('../../build/utils/postcss_pipe');
|
||||||
|
|
||||||
let webpackConfig = {
|
const webpackConfig = {
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(process.cwd(), 'dist'),
|
path: path.resolve(process.cwd(), 'dist'),
|
||||||
publicPath: '/dist/',
|
publicPath: '/dist/',
|
||||||
@ -129,4 +129,4 @@ let webpackConfig = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = to2(webpackConfig, {quiet: true, context: true});
|
module.exports = to2(webpackConfig, { quiet: true, context: true });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user