Skip to content

Commit 707e72b

Browse files
committed
fix: production bundle was loaded incorrectly, fixes #1037
1 parent 2ef9a42 commit 707e72b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsup.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default defineConfig(options => {
8282
'use strict'
8383
8484
if (process.env.NODE_ENV === 'production') {
85-
module.exports = require('./immer.cjs.production.min.js')
85+
module.exports = require('./immer.cjs.production.js')
8686
} else {
8787
module.exports = require('./immer.cjs.development.js')
8888
}`

0 commit comments

Comments
 (0)