.babelrc.js 326 Bytes
Newer Older
jim's avatar
fix ci  
jim committed
1 2
const path = require('path');

3 4 5
module.exports = {
  plugins: [
    [
jim's avatar
jim committed
6
      'module-resolver',
7 8
      {
        alias: {
jim's avatar
fix ci  
jim committed
9
          components: path.join(__dirname, './src/components'),
10 11 12
        },
      },
    ],
jim's avatar
fix ci  
jim committed
13 14 15 16 17 18 19
    [
      'import',
      {
        libraryName: 'antd',
        style: true, // or 'css'
      },
    ],
20
  ],
jim's avatar
fix ci  
jim committed
21
};