|
@@ -39,7 +39,7 @@ export default defineConfig({
|
|
|
proxy: proxy[REACT_APP_ENV || 'dev'],
|
|
|
manifest: { basePath: '/' },
|
|
|
extraBabelPlugins: [
|
|
|
- ['babel-plugin-import', { libraryName: 'antd', libraryDirectory: 'es', style: true }, '@formily/antd'],
|
|
|
+ ['babel-plugin-import', { libraryName: 'antd', libraryDirectory: 'es', style: true }, 'antd'],
|
|
|
[
|
|
|
'babel-plugin-import',
|
|
|
{ libraryName: '@formily/antd', libraryDirectory: 'es', style: true },
|