You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: builder/src/build/patches/investigated/update-webpack-chunks-file/index.ts
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,7 @@ import { getUpdatedWebpackChunksFileContent } from "./get-updated-webpack-chunks
6
6
/**
7
7
* Fixes the webpack-runtime.js file by removing its webpack dynamic requires.
8
8
*
9
-
* This hack is especially bad for two reasons:
10
-
* - it requires setting `experimental.serverMinification` to `false` in the app's config file
11
-
* - indicates that files inside the output directory still get a hold of files from the outside: `${nextjsAppPaths.standaloneAppServerDir}/webpack-runtime.js`
9
+
* This hack is particularly bad as it indicates that files inside the output directory still get a hold of files from the outside: `${nextjsAppPaths.standaloneAppServerDir}/webpack-runtime.js`
12
10
* so this shows that not everything that's needed to deploy the application is in the output directory...
0 commit comments