Commit 93efaba8f8bbdd352c8fdc29d89b212b80d60f67

Authored by 梁灏
1 parent 931b10d9

fixed #16

fixed #16
Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
README.md
... ... @@ -43,7 +43,8 @@ npm install iview --save
43 43 ```js
44 44 module: {
45 45 loaders: [
46   - { test: /iview\/.*?js$/, loader: 'babel' },
  46 + { test: /iview\/.*?js$/, loader: 'babel' },// for Mac
  47 + { test: /iview\\.*?js$/, loader: 'babel' },// for Windows
47 48 { test: /\.js$/, loader: 'babel', exclude: /node_modules/ }
48 49 ]
49 50 }
... ...