fix: test config

This commit is contained in:
陈嘉涵 2017-08-22 19:02:32 +08:00
parent c494292e3f
commit 9ac108e59d
2 changed files with 2 additions and 21 deletions

View File

@ -74,7 +74,7 @@ const webpackConfig = {
}]
},
{
test: /test\/unit\/components\/.*\.vue$|packages\/swipe\/.*\.vue$/,
test: /\.vue$/,
use: [{
loader: 'vue-loader',
options: {
@ -87,25 +87,6 @@ const webpackConfig = {
}
}
}]
},
{
test: /packages\/.*\.vue$/,
exclude: /packages\/swipe/,
use: [{
loader: 'vue-loader',
options: {
loaders: {
css: [
'style-loader',
'css-loader',
'postcss-loader'
],
js: [
'isparta-loader'
]
}
}
}]
}
]
},

View File

@ -1,5 +1,5 @@
import Picker from 'packages/picker';
import PickerColumn from 'packages/picker/src/picker-column';
import PickerColumn from 'packages/picker/picker-column';
import { mount } from 'avoriaz';
import Wrapper from 'avoriaz/dist/Wrapper';