1
This commit is contained in:
@@ -9,6 +9,7 @@ module.exports = {
|
||||
compiler: 'webpack5',
|
||||
}]
|
||||
],
|
||||
|
||||
plugins: [
|
||||
[
|
||||
"import",
|
||||
@@ -46,7 +47,12 @@ module.exports = {
|
||||
// 自动加载 css 样式文件
|
||||
// customStyleName: (name) => `@nutui/nutui-react-taro/dist/es/packages/${name.toLowerCase()}/style-jrkf/css`
|
||||
},
|
||||
|
||||
|
||||
'nutui-react',
|
||||
],
|
||||
|
||||
['transform-remove-console', { exclude: ['error', 'warn'] }],
|
||||
['@babel/plugin-transform-runtime', { corejs: false }]
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user