Skip to content

Commit

Permalink
fix(config): 修复小程序端编译报 prebundle 文件找不到的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lexmin0412 committed Jul 1, 2024
1 parent 2fd96cd commit 5ed5f63
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ const config = {
patterns: [],
options: {},
},
compiler: 'webpack5',
compiler: {
type: 'webpack5',
prebundle: {
exclude: ['@nutui/nutui-react-taro']
}
},
framework: 'react',
mini: {
postcss: {
Expand Down

0 comments on commit 5ed5f63

Please sign in to comment.