Skip to content

Commit

Permalink
Import correct prod version of jsx-dev-runtime for react-server
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Apr 27, 2024
1 parent 8090457 commit 4055024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/npm/jsx-dev-runtime.react-server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

if (process.env.NODE_ENV === 'production') {
module.exports = require('./cjs/react-jsx-dev-runtime.react-server.production.min.js');
module.exports = require('./cjs/react-jsx-dev-runtime.react-server.production.js');
} else {
module.exports = require('./cjs/react-jsx-dev-runtime.react-server.development.js');
}

0 comments on commit 4055024

Please sign in to comment.