rollup 3.13.0 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/rollup +2 -2
- package/dist/es/rollup.js +2 -2
- package/dist/es/shared/rollup.js +19 -15
- package/dist/es/shared/watch.js +2 -2
- package/dist/loadConfigFile.js +2 -2
- package/dist/rollup.d.ts +2 -0
- package/dist/rollup.js +2 -2
- package/dist/shared/index.js +2 -2
- package/dist/shared/loadConfigFile.js +2 -2
- package/dist/shared/rollup.js +19 -15
- package/dist/shared/watch-cli.js +2 -2
- package/dist/shared/watch.js +2 -2
- package/package.json +1 -1
package/dist/bin/rollup
CHANGED
package/dist/es/rollup.js
CHANGED
package/dist/es/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.
|
|
4
|
-
|
|
3
|
+
Rollup.js v3.14.0
|
|
4
|
+
Sun, 05 Feb 2023 05:33:16 GMT - commit b8526485935ef21c65a5cd5474adbddf24ec7a32
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -16,7 +16,7 @@ import { lstat, realpath, readdir, readFile, mkdir, writeFile } from 'node:fs/pr
|
|
|
16
16
|
import { EventEmitter } from 'node:events';
|
|
17
17
|
import * as tty from 'tty';
|
|
18
18
|
|
|
19
|
-
var version$1 = "3.
|
|
19
|
+
var version$1 = "3.14.0";
|
|
20
20
|
|
|
21
21
|
const comma = ','.charCodeAt(0);
|
|
22
22
|
const semicolon = ';'.charCodeAt(0);
|
|
@@ -6625,7 +6625,7 @@ class LocalVariable extends Variable {
|
|
|
6625
6625
|
case INTERACTION_ACCESSED: {
|
|
6626
6626
|
if (this.isReassigned)
|
|
6627
6627
|
return true;
|
|
6628
|
-
return (this.init &&
|
|
6628
|
+
return !!(this.init &&
|
|
6629
6629
|
!context.accessed.trackEntityAtPathAndGetIfTracked(path, this) &&
|
|
6630
6630
|
this.init.hasEffectsOnInteractionAtPath(path, interaction, context));
|
|
6631
6631
|
}
|
|
@@ -6636,14 +6636,14 @@ class LocalVariable extends Variable {
|
|
|
6636
6636
|
return false;
|
|
6637
6637
|
if (this.isReassigned)
|
|
6638
6638
|
return true;
|
|
6639
|
-
return (this.init &&
|
|
6639
|
+
return !!(this.init &&
|
|
6640
6640
|
!context.assigned.trackEntityAtPathAndGetIfTracked(path, this) &&
|
|
6641
6641
|
this.init.hasEffectsOnInteractionAtPath(path, interaction, context));
|
|
6642
6642
|
}
|
|
6643
6643
|
case INTERACTION_CALLED: {
|
|
6644
6644
|
if (this.isReassigned)
|
|
6645
6645
|
return true;
|
|
6646
|
-
return (this.init &&
|
|
6646
|
+
return !!(this.init &&
|
|
6647
6647
|
!(interaction.withNew ? context.instantiated : context.called).trackEntityAtPathAndGetIfTracked(path, interaction.args, this) &&
|
|
6648
6648
|
this.init.hasEffectsOnInteractionAtPath(path, interaction, context));
|
|
6649
6649
|
}
|
|
@@ -16048,7 +16048,7 @@ function* concatLazy(iterables) {
|
|
|
16048
16048
|
}
|
|
16049
16049
|
}
|
|
16050
16050
|
|
|
16051
|
-
function getChunkAssignments(entries, manualChunkAliasByEntry, minChunkSize) {
|
|
16051
|
+
function getChunkAssignments(entries, manualChunkAliasByEntry, minChunkSize, deepChunkOptimization) {
|
|
16052
16052
|
const chunkDefinitions = [];
|
|
16053
16053
|
const modulesInManualChunks = new Set(manualChunkAliasByEntry.keys());
|
|
16054
16054
|
const manualChunkModulesByAlias = Object.create(null);
|
|
@@ -16063,7 +16063,7 @@ function getChunkAssignments(entries, manualChunkAliasByEntry, minChunkSize) {
|
|
|
16063
16063
|
const assignedEntriesByModule = new Map();
|
|
16064
16064
|
for (const entry of allEntries) {
|
|
16065
16065
|
if (!modulesInManualChunks.has(entry)) {
|
|
16066
|
-
assignEntryToStaticDependencies(entry, dependentEntriesByModule, assignedEntriesByModule, modulesInManualChunks, staticEntries, dynamicallyDependentEntriesByDynamicEntry);
|
|
16066
|
+
assignEntryToStaticDependencies(entry, dependentEntriesByModule, assignedEntriesByModule, modulesInManualChunks, staticEntries, dynamicallyDependentEntriesByDynamicEntry, deepChunkOptimization);
|
|
16067
16067
|
}
|
|
16068
16068
|
}
|
|
16069
16069
|
chunkDefinitions.push(...createChunks(allEntries, assignedEntriesByModule, minChunkSize));
|
|
@@ -16131,13 +16131,13 @@ function getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule,
|
|
|
16131
16131
|
}
|
|
16132
16132
|
return dynamicallyDependentEntriesByDynamicEntry;
|
|
16133
16133
|
}
|
|
16134
|
-
function assignEntryToStaticDependencies(entry, dependentEntriesByModule, assignedEntriesByModule, modulesInManualChunks, staticEntries, dynamicallyDependentEntriesByDynamicEntry) {
|
|
16134
|
+
function assignEntryToStaticDependencies(entry, dependentEntriesByModule, assignedEntriesByModule, modulesInManualChunks, staticEntries, dynamicallyDependentEntriesByDynamicEntry, deepChunkOptimization) {
|
|
16135
16135
|
const dynamicallyDependentEntries = dynamicallyDependentEntriesByDynamicEntry.get(entry);
|
|
16136
16136
|
const modulesToHandle = new Set([entry]);
|
|
16137
16137
|
for (const module of modulesToHandle) {
|
|
16138
16138
|
const assignedEntries = getOrCreate(assignedEntriesByModule, module, getNewSet);
|
|
16139
16139
|
if (dynamicallyDependentEntries &&
|
|
16140
|
-
isModuleAlreadyLoaded(dynamicallyDependentEntries, dependentEntriesByModule.get(module), staticEntries, dynamicallyDependentEntriesByDynamicEntry)) {
|
|
16140
|
+
isModuleAlreadyLoaded(dynamicallyDependentEntries, dependentEntriesByModule.get(module), staticEntries, dynamicallyDependentEntriesByDynamicEntry, deepChunkOptimization)) {
|
|
16141
16141
|
continue;
|
|
16142
16142
|
}
|
|
16143
16143
|
else {
|
|
@@ -16155,8 +16155,9 @@ const MAX_ENTRIES_TO_CHECK_FOR_SHARED_DEPENDENCIES = 3;
|
|
|
16155
16155
|
// - first, create chunks without looking for modules already in memory
|
|
16156
16156
|
// - all modules that are in the same chunk after this will behave the same
|
|
16157
16157
|
// -> Do not iterate by module but by equivalence group and merge chunks
|
|
16158
|
-
function isModuleAlreadyLoaded(dynamicallyDependentEntries, containedIn, staticEntries, dynamicallyDependentEntriesByDynamicEntry) {
|
|
16159
|
-
if (
|
|
16158
|
+
function isModuleAlreadyLoaded(dynamicallyDependentEntries, containedIn, staticEntries, dynamicallyDependentEntriesByDynamicEntry, deepChunkOptimization) {
|
|
16159
|
+
if (!deepChunkOptimization &&
|
|
16160
|
+
dynamicallyDependentEntries.size > MAX_ENTRIES_TO_CHECK_FOR_SHARED_DEPENDENCIES) {
|
|
16160
16161
|
return false;
|
|
16161
16162
|
}
|
|
16162
16163
|
const entriesToCheck = new Set(dynamicallyDependentEntries);
|
|
@@ -16166,7 +16167,8 @@ function isModuleAlreadyLoaded(dynamicallyDependentEntries, containedIn, staticE
|
|
|
16166
16167
|
return false;
|
|
16167
16168
|
}
|
|
16168
16169
|
const dynamicallyDependentEntries = dynamicallyDependentEntriesByDynamicEntry.get(entry);
|
|
16169
|
-
if (
|
|
16170
|
+
if (!deepChunkOptimization &&
|
|
16171
|
+
dynamicallyDependentEntries.size > MAX_ENTRIES_TO_CHECK_FOR_SHARED_DEPENDENCIES) {
|
|
16170
16172
|
return false;
|
|
16171
16173
|
}
|
|
16172
16174
|
for (const dependentEntry of dynamicallyDependentEntries) {
|
|
@@ -16993,7 +16995,7 @@ class Bundle {
|
|
|
16993
16995
|
this.pluginDriver.finaliseAssets();
|
|
16994
16996
|
}
|
|
16995
16997
|
async generateChunks(bundle, getHashPlaceholder) {
|
|
16996
|
-
const { experimentalMinChunkSize, inlineDynamicImports, manualChunks, preserveModules } = this.outputOptions;
|
|
16998
|
+
const { experimentalDeepDynamicChunkOptimization, experimentalMinChunkSize, inlineDynamicImports, manualChunks, preserveModules } = this.outputOptions;
|
|
16997
16999
|
const manualChunkAliasByEntry = typeof manualChunks === 'object'
|
|
16998
17000
|
? await this.addManualChunks(manualChunks)
|
|
16999
17001
|
: this.assignManualChunks(manualChunks);
|
|
@@ -17007,7 +17009,7 @@ class Bundle {
|
|
|
17007
17009
|
? [{ alias: null, modules: includedModules }]
|
|
17008
17010
|
: preserveModules
|
|
17009
17011
|
? includedModules.map(module => ({ alias: null, modules: [module] }))
|
|
17010
|
-
: getChunkAssignments(this.graph.entryModules, manualChunkAliasByEntry, experimentalMinChunkSize)) {
|
|
17012
|
+
: getChunkAssignments(this.graph.entryModules, manualChunkAliasByEntry, experimentalMinChunkSize, experimentalDeepDynamicChunkOptimization)) {
|
|
17011
17013
|
sortByExecutionOrder(modules);
|
|
17012
17014
|
const chunk = new Chunk(modules, this.inputOptions, this.outputOptions, this.unsetOptions, this.pluginDriver, this.graph.modulesById, chunkByModule, externalChunkByModule, this.facadeChunkByModule, this.includedNamespaces, alias, getHashPlaceholder, bundle, inputBase, snippets);
|
|
17013
17015
|
chunks.push(chunk);
|
|
@@ -24798,6 +24800,7 @@ async function normalizeOutputOptions(config, inputOptions, unsetInputOptions) {
|
|
|
24798
24800
|
dynamicImportInCjs: config.dynamicImportInCjs ?? true,
|
|
24799
24801
|
entryFileNames: getEntryFileNames(config, unsetOptions),
|
|
24800
24802
|
esModule: config.esModule ?? 'if-default-prop',
|
|
24803
|
+
experimentalDeepDynamicChunkOptimization: config.experimentalDeepDynamicChunkOptimization || false,
|
|
24801
24804
|
experimentalMinChunkSize: config.experimentalMinChunkSize || 0,
|
|
24802
24805
|
exports: getExports(config, unsetOptions),
|
|
24803
24806
|
extend: config.extend || false,
|
|
@@ -25489,6 +25492,7 @@ async function mergeOutputOptions(config, overrides, warn) {
|
|
|
25489
25492
|
dynamicImportInCjs: getOption('dynamicImportInCjs'),
|
|
25490
25493
|
entryFileNames: getOption('entryFileNames'),
|
|
25491
25494
|
esModule: getOption('esModule'),
|
|
25495
|
+
experimentalDeepDynamicChunkOptimization: getOption('experimentalDeepDynamicChunkOptimization'),
|
|
25492
25496
|
experimentalMinChunkSize: getOption('experimentalMinChunkSize'),
|
|
25493
25497
|
exports: getOption('exports'),
|
|
25494
25498
|
extend: getOption('extend'),
|
package/dist/es/shared/watch.js
CHANGED
package/dist/loadConfigFile.js
CHANGED
package/dist/rollup.d.ts
CHANGED
|
@@ -647,6 +647,7 @@ export interface OutputOptions {
|
|
|
647
647
|
dynamicImportInCjs?: boolean;
|
|
648
648
|
entryFileNames?: string | ((chunkInfo: PreRenderedChunk) => string);
|
|
649
649
|
esModule?: boolean | 'if-default-prop';
|
|
650
|
+
experimentalDeepDynamicChunkOptimization?: boolean;
|
|
650
651
|
experimentalMinChunkSize?: number;
|
|
651
652
|
exports?: 'default' | 'named' | 'none' | 'auto';
|
|
652
653
|
extend?: boolean;
|
|
@@ -700,6 +701,7 @@ export interface NormalizedOutputOptions {
|
|
|
700
701
|
dynamicImportInCjs: boolean;
|
|
701
702
|
entryFileNames: string | ((chunkInfo: PreRenderedChunk) => string);
|
|
702
703
|
esModule: boolean | 'if-default-prop';
|
|
704
|
+
experimentalDeepDynamicChunkOptimization: boolean;
|
|
703
705
|
experimentalMinChunkSize: number;
|
|
704
706
|
exports: 'default' | 'named' | 'none' | 'auto';
|
|
705
707
|
extend: boolean;
|
package/dist/rollup.js
CHANGED
package/dist/shared/index.js
CHANGED
package/dist/shared/rollup.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
@license
|
|
3
|
-
Rollup.js v3.
|
|
4
|
-
|
|
3
|
+
Rollup.js v3.14.0
|
|
4
|
+
Sun, 05 Feb 2023 05:33:16 GMT - commit b8526485935ef21c65a5cd5474adbddf24ec7a32
|
|
5
5
|
|
|
6
6
|
https://github.com/rollup/rollup
|
|
7
7
|
|
|
@@ -31,7 +31,7 @@ function _interopNamespaceDefault(e) {
|
|
|
31
31
|
|
|
32
32
|
const tty__namespace = /*#__PURE__*/_interopNamespaceDefault(tty);
|
|
33
33
|
|
|
34
|
-
var version$1 = "3.
|
|
34
|
+
var version$1 = "3.14.0";
|
|
35
35
|
|
|
36
36
|
function ensureArray$1(items) {
|
|
37
37
|
if (Array.isArray(items)) {
|
|
@@ -1081,6 +1081,7 @@ async function mergeOutputOptions(config, overrides, warn) {
|
|
|
1081
1081
|
dynamicImportInCjs: getOption('dynamicImportInCjs'),
|
|
1082
1082
|
entryFileNames: getOption('entryFileNames'),
|
|
1083
1083
|
esModule: getOption('esModule'),
|
|
1084
|
+
experimentalDeepDynamicChunkOptimization: getOption('experimentalDeepDynamicChunkOptimization'),
|
|
1084
1085
|
experimentalMinChunkSize: getOption('experimentalMinChunkSize'),
|
|
1085
1086
|
exports: getOption('exports'),
|
|
1086
1087
|
extend: getOption('extend'),
|
|
@@ -7143,7 +7144,7 @@ class LocalVariable extends Variable {
|
|
|
7143
7144
|
case INTERACTION_ACCESSED: {
|
|
7144
7145
|
if (this.isReassigned)
|
|
7145
7146
|
return true;
|
|
7146
|
-
return (this.init &&
|
|
7147
|
+
return !!(this.init &&
|
|
7147
7148
|
!context.accessed.trackEntityAtPathAndGetIfTracked(path, this) &&
|
|
7148
7149
|
this.init.hasEffectsOnInteractionAtPath(path, interaction, context));
|
|
7149
7150
|
}
|
|
@@ -7154,14 +7155,14 @@ class LocalVariable extends Variable {
|
|
|
7154
7155
|
return false;
|
|
7155
7156
|
if (this.isReassigned)
|
|
7156
7157
|
return true;
|
|
7157
|
-
return (this.init &&
|
|
7158
|
+
return !!(this.init &&
|
|
7158
7159
|
!context.assigned.trackEntityAtPathAndGetIfTracked(path, this) &&
|
|
7159
7160
|
this.init.hasEffectsOnInteractionAtPath(path, interaction, context));
|
|
7160
7161
|
}
|
|
7161
7162
|
case INTERACTION_CALLED: {
|
|
7162
7163
|
if (this.isReassigned)
|
|
7163
7164
|
return true;
|
|
7164
|
-
return (this.init &&
|
|
7165
|
+
return !!(this.init &&
|
|
7165
7166
|
!(interaction.withNew ? context.instantiated : context.called).trackEntityAtPathAndGetIfTracked(path, interaction.args, this) &&
|
|
7166
7167
|
this.init.hasEffectsOnInteractionAtPath(path, interaction, context));
|
|
7167
7168
|
}
|
|
@@ -16566,7 +16567,7 @@ function* concatLazy(iterables) {
|
|
|
16566
16567
|
}
|
|
16567
16568
|
}
|
|
16568
16569
|
|
|
16569
|
-
function getChunkAssignments(entries, manualChunkAliasByEntry, minChunkSize) {
|
|
16570
|
+
function getChunkAssignments(entries, manualChunkAliasByEntry, minChunkSize, deepChunkOptimization) {
|
|
16570
16571
|
const chunkDefinitions = [];
|
|
16571
16572
|
const modulesInManualChunks = new Set(manualChunkAliasByEntry.keys());
|
|
16572
16573
|
const manualChunkModulesByAlias = Object.create(null);
|
|
@@ -16581,7 +16582,7 @@ function getChunkAssignments(entries, manualChunkAliasByEntry, minChunkSize) {
|
|
|
16581
16582
|
const assignedEntriesByModule = new Map();
|
|
16582
16583
|
for (const entry of allEntries) {
|
|
16583
16584
|
if (!modulesInManualChunks.has(entry)) {
|
|
16584
|
-
assignEntryToStaticDependencies(entry, dependentEntriesByModule, assignedEntriesByModule, modulesInManualChunks, staticEntries, dynamicallyDependentEntriesByDynamicEntry);
|
|
16585
|
+
assignEntryToStaticDependencies(entry, dependentEntriesByModule, assignedEntriesByModule, modulesInManualChunks, staticEntries, dynamicallyDependentEntriesByDynamicEntry, deepChunkOptimization);
|
|
16585
16586
|
}
|
|
16586
16587
|
}
|
|
16587
16588
|
chunkDefinitions.push(...createChunks(allEntries, assignedEntriesByModule, minChunkSize));
|
|
@@ -16649,13 +16650,13 @@ function getDynamicallyDependentEntriesByDynamicEntry(dependentEntriesByModule,
|
|
|
16649
16650
|
}
|
|
16650
16651
|
return dynamicallyDependentEntriesByDynamicEntry;
|
|
16651
16652
|
}
|
|
16652
|
-
function assignEntryToStaticDependencies(entry, dependentEntriesByModule, assignedEntriesByModule, modulesInManualChunks, staticEntries, dynamicallyDependentEntriesByDynamicEntry) {
|
|
16653
|
+
function assignEntryToStaticDependencies(entry, dependentEntriesByModule, assignedEntriesByModule, modulesInManualChunks, staticEntries, dynamicallyDependentEntriesByDynamicEntry, deepChunkOptimization) {
|
|
16653
16654
|
const dynamicallyDependentEntries = dynamicallyDependentEntriesByDynamicEntry.get(entry);
|
|
16654
16655
|
const modulesToHandle = new Set([entry]);
|
|
16655
16656
|
for (const module of modulesToHandle) {
|
|
16656
16657
|
const assignedEntries = getOrCreate(assignedEntriesByModule, module, getNewSet);
|
|
16657
16658
|
if (dynamicallyDependentEntries &&
|
|
16658
|
-
isModuleAlreadyLoaded(dynamicallyDependentEntries, dependentEntriesByModule.get(module), staticEntries, dynamicallyDependentEntriesByDynamicEntry)) {
|
|
16659
|
+
isModuleAlreadyLoaded(dynamicallyDependentEntries, dependentEntriesByModule.get(module), staticEntries, dynamicallyDependentEntriesByDynamicEntry, deepChunkOptimization)) {
|
|
16659
16660
|
continue;
|
|
16660
16661
|
}
|
|
16661
16662
|
else {
|
|
@@ -16673,8 +16674,9 @@ const MAX_ENTRIES_TO_CHECK_FOR_SHARED_DEPENDENCIES = 3;
|
|
|
16673
16674
|
// - first, create chunks without looking for modules already in memory
|
|
16674
16675
|
// - all modules that are in the same chunk after this will behave the same
|
|
16675
16676
|
// -> Do not iterate by module but by equivalence group and merge chunks
|
|
16676
|
-
function isModuleAlreadyLoaded(dynamicallyDependentEntries, containedIn, staticEntries, dynamicallyDependentEntriesByDynamicEntry) {
|
|
16677
|
-
if (
|
|
16677
|
+
function isModuleAlreadyLoaded(dynamicallyDependentEntries, containedIn, staticEntries, dynamicallyDependentEntriesByDynamicEntry, deepChunkOptimization) {
|
|
16678
|
+
if (!deepChunkOptimization &&
|
|
16679
|
+
dynamicallyDependentEntries.size > MAX_ENTRIES_TO_CHECK_FOR_SHARED_DEPENDENCIES) {
|
|
16678
16680
|
return false;
|
|
16679
16681
|
}
|
|
16680
16682
|
const entriesToCheck = new Set(dynamicallyDependentEntries);
|
|
@@ -16684,7 +16686,8 @@ function isModuleAlreadyLoaded(dynamicallyDependentEntries, containedIn, staticE
|
|
|
16684
16686
|
return false;
|
|
16685
16687
|
}
|
|
16686
16688
|
const dynamicallyDependentEntries = dynamicallyDependentEntriesByDynamicEntry.get(entry);
|
|
16687
|
-
if (
|
|
16689
|
+
if (!deepChunkOptimization &&
|
|
16690
|
+
dynamicallyDependentEntries.size > MAX_ENTRIES_TO_CHECK_FOR_SHARED_DEPENDENCIES) {
|
|
16688
16691
|
return false;
|
|
16689
16692
|
}
|
|
16690
16693
|
for (const dependentEntry of dynamicallyDependentEntries) {
|
|
@@ -17511,7 +17514,7 @@ class Bundle {
|
|
|
17511
17514
|
this.pluginDriver.finaliseAssets();
|
|
17512
17515
|
}
|
|
17513
17516
|
async generateChunks(bundle, getHashPlaceholder) {
|
|
17514
|
-
const { experimentalMinChunkSize, inlineDynamicImports, manualChunks, preserveModules } = this.outputOptions;
|
|
17517
|
+
const { experimentalDeepDynamicChunkOptimization, experimentalMinChunkSize, inlineDynamicImports, manualChunks, preserveModules } = this.outputOptions;
|
|
17515
17518
|
const manualChunkAliasByEntry = typeof manualChunks === 'object'
|
|
17516
17519
|
? await this.addManualChunks(manualChunks)
|
|
17517
17520
|
: this.assignManualChunks(manualChunks);
|
|
@@ -17525,7 +17528,7 @@ class Bundle {
|
|
|
17525
17528
|
? [{ alias: null, modules: includedModules }]
|
|
17526
17529
|
: preserveModules
|
|
17527
17530
|
? includedModules.map(module => ({ alias: null, modules: [module] }))
|
|
17528
|
-
: getChunkAssignments(this.graph.entryModules, manualChunkAliasByEntry, experimentalMinChunkSize)) {
|
|
17531
|
+
: getChunkAssignments(this.graph.entryModules, manualChunkAliasByEntry, experimentalMinChunkSize, experimentalDeepDynamicChunkOptimization)) {
|
|
17529
17532
|
sortByExecutionOrder(modules);
|
|
17530
17533
|
const chunk = new Chunk(modules, this.inputOptions, this.outputOptions, this.unsetOptions, this.pluginDriver, this.graph.modulesById, chunkByModule, externalChunkByModule, this.facadeChunkByModule, this.includedNamespaces, alias, getHashPlaceholder, bundle, inputBase, snippets);
|
|
17531
17534
|
chunks.push(chunk);
|
|
@@ -25220,6 +25223,7 @@ async function normalizeOutputOptions(config, inputOptions, unsetInputOptions) {
|
|
|
25220
25223
|
dynamicImportInCjs: config.dynamicImportInCjs ?? true,
|
|
25221
25224
|
entryFileNames: getEntryFileNames(config, unsetOptions),
|
|
25222
25225
|
esModule: config.esModule ?? 'if-default-prop',
|
|
25226
|
+
experimentalDeepDynamicChunkOptimization: config.experimentalDeepDynamicChunkOptimization || false,
|
|
25223
25227
|
experimentalMinChunkSize: config.experimentalMinChunkSize || 0,
|
|
25224
25228
|
exports: getExports(config, unsetOptions),
|
|
25225
25229
|
extend: config.extend || false,
|
package/dist/shared/watch-cli.js
CHANGED
package/dist/shared/watch.js
CHANGED