@utoo/pack-shared 1.5.8-alpha.3 → 1.5.8
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/cjs/config.d.ts +5 -0
- package/esm/config.d.ts +5 -0
- package/package.json +1 -1
package/cjs/config.d.ts
CHANGED
|
@@ -224,6 +224,11 @@ export interface ConfigComplete {
|
|
|
224
224
|
/** Extract legal comments to `[file].LICENSE.txt` when minifying library output. */
|
|
225
225
|
extractComments?: boolean;
|
|
226
226
|
treeShaking?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Infer side-effect-free modules from source code when package metadata does not
|
|
229
|
+
* declare side effects. Defaults to `true`, matching Next.js.
|
|
230
|
+
*/
|
|
231
|
+
inferModuleSideEffects?: boolean;
|
|
227
232
|
splitChunks?: Record<"js" | "css", {
|
|
228
233
|
minChunkSize?: number;
|
|
229
234
|
maxChunkCountPerGroup?: number;
|
package/esm/config.d.ts
CHANGED
|
@@ -224,6 +224,11 @@ export interface ConfigComplete {
|
|
|
224
224
|
/** Extract legal comments to `[file].LICENSE.txt` when minifying library output. */
|
|
225
225
|
extractComments?: boolean;
|
|
226
226
|
treeShaking?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Infer side-effect-free modules from source code when package metadata does not
|
|
229
|
+
* declare side effects. Defaults to `true`, matching Next.js.
|
|
230
|
+
*/
|
|
231
|
+
inferModuleSideEffects?: boolean;
|
|
227
232
|
splitChunks?: Record<"js" | "css", {
|
|
228
233
|
minChunkSize?: number;
|
|
229
234
|
maxChunkCountPerGroup?: number;
|