12345678910111213141516171819202122 |
- const {
- override,
- fixBabelImports,
- addDecoratorsLegacy,
- addWebpackAlias
- } = require('customize-cra')
- const path = require('path')
- module.exports = function override (config, env) {
- return config
- }
- module.exports = override(
- addDecoratorsLegacy(),
- fixBabelImports('import', {
- libraryName: 'antd',
- libraryDirectory: 'es',
- style: 'css'
- }),
- addWebpackAlias({
- '@': path.resolve(__dirname, 'src')
- })
- )
|