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
{{ message }}
Repository navigation
Commit 9dd7f94
Browse filesBrowse the repository at this point in the historyBrowse files
Allow opting out of statically analyzable literal dynamic import()
specifiers in ESM output via output.analyzableChunkImport: false.
When disabled, chunk loading falls back to runtime resolution with chunk IDs,
preventing chunk content hashes from being baked into importing modules and
preserving long-term caching.
Fixes#22056
Copy file name to clipboardExpand all lines: declarations/WebpackOptions.d.ts
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2925,6 +2925,10 @@ export interface Output {
2925
2925
* Add a container for define/require functions in the AMD module.
2926
2926
*/
2927
2927
amdContainer?: AmdContainer;
2928
+
/**
2929
+
* Bake statically analyzable literal import() specifiers for chunk loading in ESM output. When false, chunk loading uses runtime resolution with chunk IDs, preventing chunk content hashes from being baked into importing modules.
2930
+
*/
2931
+
analyzableChunkImport?: boolean;
2928
2932
/**
2929
2933
* The filename of asset modules as relative path inside the 'output.path' directory.
* Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.
5100
5104
*/
5101
5105
exportinterfaceOutputNormalized{
5106
+
/**
5107
+
* Bake statically analyzable literal import() specifiers for chunk loading in ESM output. When false, chunk loading uses runtime resolution with chunk IDs, preventing chunk content hashes from being baked into importing modules.
5108
+
*/
5109
+
analyzableChunkImport?: boolean;
5102
5110
/**
5103
5111
* The filename of asset modules as relative path inside the 'output.path' directory.
0 commit comments