committed by
陈帅
5 changed files with 17 additions and 8 deletions
@ -1,12 +1,21 @@ |
|||||
|
const path = require('path'); |
||||
|
|
||||
module.exports = { |
module.exports = { |
||||
plugins: [ |
plugins: [ |
||||
[ |
[ |
||||
'babel-plugin-module-resolver', |
'babel-plugin-module-resolver', |
||||
{ |
{ |
||||
alias: { |
alias: { |
||||
components: './src/components', |
components: path.join(__dirname, './src/components'), |
||||
}, |
}, |
||||
}, |
}, |
||||
], |
], |
||||
|
[ |
||||
|
'import', |
||||
|
{ |
||||
|
libraryName: 'antd', |
||||
|
style: true, // or 'css'
|
||||
|
}, |
||||
|
], |
||||
], |
], |
||||
}; |
}; |
||||
|
|||||
Loading…
Reference in new issue