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