Skip to content

Commit eed6746

Browse files
committed
Fix production build
1 parent aec9324 commit eed6746

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/webpack/development.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ module.exports = [
4848
},
4949
{
5050
...sharedConfig,
51+
mode:
52+
process.env.NODE_ENV === 'production'
53+
? 'production'
54+
: 'development',
5155
name: 'react-jsx-runtime',
5256
entry: {
5357
'react-jsx-runtime': {

0 commit comments

Comments
 (0)