Skip to content

Commit

Permalink
Minified bundles were removed
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed May 7, 2024
1 parent 494d181 commit 12b5bd1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var l, s
if (process.env.NODE_ENV === 'production') {
l = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js')
s = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.min.js')
l = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js')
s = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js')
} else {
l = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js')
s = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var l, s
if (process.env.NODE_ENV === 'production') {
l = require('next/dist/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js')
s = require('next/dist/compiled/react-dom/cjs/react-dom-server.browser.production.min.js')
l = require('next/dist/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js')
s = require('next/dist/compiled/react-dom/cjs/react-dom-server.browser.production.js')
} else {
l = require('next/dist/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js')
s = require('next/dist/compiled/react-dom/cjs/react-dom-server.browser.development.js')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function error() {

var b
if (process.env.NODE_ENV === 'production') {
b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.min.js')
b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js')
} else {
b = require('next/dist/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function error() {

var b
if (process.env.NODE_ENV === 'production') {
b = require('next/dist/compiled/react-dom/cjs/react-dom-server.edge.production.min.js')
b = require('next/dist/compiled/react-dom/cjs/react-dom-server.edge.production.js')
} else {
b = require('next/dist/compiled/react-dom/cjs/react-dom-server.edge.development.js')
}
Expand Down
4 changes: 2 additions & 2 deletions packages/next/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ const appExternals = [
// Externalize the react-dom/server legacy implementation outside of the runtime.
// If users are using them and imported from 'react-dom/server' they will get the external asset bundled.
'next/dist/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js',
'next/dist/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.min.js',
'next/dist/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js',
'next/dist/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js',
'next/dist/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.min.js',
'next/dist/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js',
]

function makeAppAliases(reactChannel = '') {
Expand Down

0 comments on commit 12b5bd1

Please sign in to comment.