mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 08:37:23 +00:00
[Improvement] remove unused dependencies & scripts (#453)
This commit is contained in:
@@ -18,7 +18,7 @@ function getWebpackConfig(testFileName) {
|
||||
options: {
|
||||
babel: {
|
||||
presets: ['env'],
|
||||
plugins: ['transform-runtime', 'transform-vue-jsx']
|
||||
plugins: ['transform-runtime']
|
||||
},
|
||||
vue: {
|
||||
autoprefixer: false,
|
||||
|
@@ -14,7 +14,7 @@ module.exports = function(config) {
|
||||
reporters: ['spec', 'coverage'],
|
||||
files: ['./index.js'],
|
||||
preprocessors: {
|
||||
'./index.js': ['webpack', 'sourcemap'],
|
||||
'./index.js': ['webpack'],
|
||||
'test/unit/!(components)/**/*.vue': ['coverage']
|
||||
},
|
||||
webpack: getWebpackConfig(getTestFileName()),
|
||||
|
Reference in New Issue
Block a user