This commit is contained in:
张成
2025-09-30 17:56:24 +08:00
parent 5f13effcd4
commit dd26282540
4 changed files with 26 additions and 0 deletions

View File

@@ -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 }]
],
}