You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
518 B
24 lines
518 B
export default {
|
|
hash: true,
|
|
nodeModulesTransform: {
|
|
type: 'none',
|
|
},
|
|
define: {
|
|
'process.env.UMI_ENV': 'dev',
|
|
},
|
|
extraBabelPlugins: [
|
|
['babel-plugin-import', { libraryName: 'antd', libraryDirectory: 'es', style: true }, 'antd'],
|
|
[
|
|
'babel-plugin-import',
|
|
{ libraryName: '@formily/antd', libraryDirectory: 'esm', style: true },
|
|
'@formily/antd',
|
|
],
|
|
],
|
|
targets: {
|
|
ie: 11,
|
|
},
|
|
dynamicImport: {
|
|
loading: '@/pages/Loading',
|
|
},
|
|
ignoreMomentLocale: true,
|
|
};
|
|
|