fixed bug: Can not compile iview sometime
fixed bug: Can not compile iview sometime
This commit is contained in:
parent
f12aca9e84
commit
72493927e1
3 changed files with 30 additions and 7 deletions
|
@ -43,8 +43,7 @@ npm install iview --save
|
|||
```js
|
||||
module: {
|
||||
loaders: [
|
||||
{ test: /iview\/.*?js$/, loader: 'babel' },// for Mac
|
||||
{ test: /iview\\.*?js$/, loader: 'babel' },// for Windows
|
||||
{ test: /iview.src.*?js$/, loader: 'babel' },
|
||||
{ test: /\.js$/, loader: 'babel', exclude: /node_modules/ }
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue