Skip to content

Commit

Permalink
fix: production bundle was loaded incorrectly, fixes #1037
Browse files Browse the repository at this point in the history
  • Loading branch information
mweststrate committed Apr 17, 2023
1 parent 2ef9a42 commit 707e72b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default defineConfig(options => {
'use strict'
if (process.env.NODE_ENV === 'production') {
module.exports = require('./immer.cjs.production.min.js')
module.exports = require('./immer.cjs.production.js')
} else {
module.exports = require('./immer.cjs.development.js')
}`
Expand Down

0 comments on commit 707e72b

Please sign in to comment.