rolldown 0.13.1 → 0.13.2

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/cjs/cli.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
3
  const { __export, __toESM } = require("../shared/chunk-gQ4GMlVi.cjs");
4
- const { LogLevelOptionSchema, LogLevelSchema, LogLevelWithErrorSchema, RollupLogSchema, RollupLogWithStringSchema, arraify } = require("../shared/plugin-context-data-S1bXhfAf.cjs");
4
+ const { LogLevelOptionSchema, LogLevelSchema, LogLevelWithErrorSchema, RollupLogSchema, RollupLogWithStringSchema, arraify } = require("../shared/plugin-context-data-F1I9ytXp.cjs");
5
5
  const { rolldown } = require("../shared/rolldown-ESzFTeqV.cjs");
6
- const { description, version } = require("../shared/package-E2RafUbX.cjs");
6
+ const { description, version } = require("../shared/package-8qJYyGdm.cjs");
7
7
  const { createConsola } = require("../shared/consola.36c0034f-eps_ogJv.cjs");
8
8
  const { default: nodePath } = __toESM(require("node:path"));
9
9
  const { ZodFirstPartyTypeKind, ZodFirstPartyTypeKind: ZodFirstPartyTypeKind$1, ZodFirstPartyTypeKind: ZodFirstPartyTypeKind$2, z, z: z$1, z: z$2, z: z$3 } = __toESM(require("zod"));
@@ -1377,11 +1377,17 @@ const outputOptionsSchema = z$1.strictObject({
1377
1377
  globals: ((z$1.record(z$1.string())).describe("Comma-separated list of `module-id:global` pairs (`<module-id>:<global>,...`)")).optional(),
1378
1378
  externalLiveBindings: (((z$1.boolean()).describe("use external live bindings")).default(true)).optional(),
1379
1379
  inlineDynamicImports: (((z$1.boolean()).describe("inline dynamic imports")).default(false)).optional(),
1380
- advancedChunks: (z$1.strictObject({groups: (z$1.array(z$1.strictObject({
1381
- name: z$1.string(),
1382
- test: (z$1.string()).optional(),
1383
- priority: (z$1.number()).optional()
1384
- }))).optional()})).optional()
1380
+ advancedChunks: (z$1.strictObject({
1381
+ minSize: (z$1.number()).optional(),
1382
+ minShareCount: (z$1.number()).optional(),
1383
+ groups: (z$1.array(z$1.strictObject({
1384
+ name: z$1.string(),
1385
+ test: (z$1.string()).optional(),
1386
+ priority: (z$1.number()).optional(),
1387
+ minSize: (z$1.number()).optional(),
1388
+ minShareCount: (z$1.number()).optional()
1389
+ }))).optional()
1390
+ })).optional()
1385
1391
  });
1386
1392
  const getAddonDescription = (placement, wrapper) => {
1387
1393
  return `code to insert the ${bold(placement)} of the bundled file (${bold(wrapper)} the wrapper function).`;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  const { __toESM } = require("../shared/chunk-gQ4GMlVi.cjs");
4
- const { require_binding } = require("../shared/plugin-context-data-S1bXhfAf.cjs");
4
+ const { require_binding } = require("../shared/plugin-context-data-F1I9ytXp.cjs");
5
5
  const { aliasPlugin, buildImportAnalysisPlugin, composeJsPlugins, dynamicImportVarsPlugin, experimental_scan, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, replacePlugin, transformPlugin, wasmFallbackPlugin, wasmHelperPlugin } = require("../shared/rolldown-ESzFTeqV.cjs");
6
6
  const { pathToFileURL } = __toESM(require("node:url"));
7
7
 
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
- require("../shared/plugin-context-data-S1bXhfAf.cjs");
3
+ require("../shared/plugin-context-data-F1I9ytXp.cjs");
4
4
  const { rolldown } = require("../shared/rolldown-ESzFTeqV.cjs");
5
- const { version } = require("../shared/package-E2RafUbX.cjs");
5
+ const { version } = require("../shared/package-8qJYyGdm.cjs");
6
6
 
7
7
  //#region src/utils/define-config.ts
8
8
  function defineConfig(config) {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  const { __toESM } = require("../shared/chunk-gQ4GMlVi.cjs");
4
- const { PluginContextData, bindingifyPlugin, require_binding } = require("../shared/plugin-context-data-S1bXhfAf.cjs");
4
+ const { PluginContextData, bindingifyPlugin, require_binding } = require("../shared/plugin-context-data-F1I9ytXp.cjs");
5
5
  const { parentPort, workerData } = __toESM(require("node:worker_threads"));
6
6
 
7
7
  //#region src/parallel-plugin-worker.ts
package/dist/esm/cli.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  import __node_module__ from 'node:module';
2
2
  const require = __node_module__.createRequire(import.meta.url)
3
- import { LogLevelOptionSchema, LogLevelSchema, LogLevelWithErrorSchema, RollupLogSchema, RollupLogWithStringSchema, __export, arraify } from "../shared/plugin-context-data-AMG1kfMv.mjs";
4
- import { rolldown } from "../shared/rolldown-6vsB7_d4.mjs";
5
- import { description, version } from "../shared/package-PjxauRxS.mjs";
3
+ import { LogLevelOptionSchema, LogLevelSchema, LogLevelWithErrorSchema, RollupLogSchema, RollupLogWithStringSchema, __export, arraify } from "../shared/plugin-context-data-iKSAvmTX.mjs";
4
+ import { rolldown } from "../shared/rolldown-Hf7txSlh.mjs";
5
+ import { description, version } from "../shared/package-unZcnfG9.mjs";
6
6
  import { createConsola } from "../shared/consola.36c0034f-m5cABVv4.mjs";
7
7
  import { default as nodePath } from "node:path";
8
8
  import { ZodFirstPartyTypeKind, ZodFirstPartyTypeKind as ZodFirstPartyTypeKind$1, ZodFirstPartyTypeKind as ZodFirstPartyTypeKind$2, z, z as z$1, z as z$2, z as z$3 } from "zod";
@@ -1376,11 +1376,17 @@ const outputOptionsSchema = z$1.strictObject({
1376
1376
  globals: ((z$1.record(z$1.string())).describe("Comma-separated list of `module-id:global` pairs (`<module-id>:<global>,...`)")).optional(),
1377
1377
  externalLiveBindings: (((z$1.boolean()).describe("use external live bindings")).default(true)).optional(),
1378
1378
  inlineDynamicImports: (((z$1.boolean()).describe("inline dynamic imports")).default(false)).optional(),
1379
- advancedChunks: (z$1.strictObject({groups: (z$1.array(z$1.strictObject({
1380
- name: z$1.string(),
1381
- test: (z$1.string()).optional(),
1382
- priority: (z$1.number()).optional()
1383
- }))).optional()})).optional()
1379
+ advancedChunks: (z$1.strictObject({
1380
+ minSize: (z$1.number()).optional(),
1381
+ minShareCount: (z$1.number()).optional(),
1382
+ groups: (z$1.array(z$1.strictObject({
1383
+ name: z$1.string(),
1384
+ test: (z$1.string()).optional(),
1385
+ priority: (z$1.number()).optional(),
1386
+ minSize: (z$1.number()).optional(),
1387
+ minShareCount: (z$1.number()).optional()
1388
+ }))).optional()
1389
+ })).optional()
1384
1390
  });
1385
1391
  const getAddonDescription = (placement, wrapper) => {
1386
1392
  return `code to insert the ${bold(placement)} of the bundled file (${bold(wrapper)} the wrapper function).`;
@@ -1,7 +1,7 @@
1
1
  import __node_module__ from 'node:module';
2
2
  const require = __node_module__.createRequire(import.meta.url)
3
- import { __toESM, require_binding } from "../shared/plugin-context-data-AMG1kfMv.mjs";
4
- import { aliasPlugin, buildImportAnalysisPlugin, composeJsPlugins, dynamicImportVarsPlugin, experimental_scan, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, replacePlugin, transformPlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/rolldown-6vsB7_d4.mjs";
3
+ import { __toESM, require_binding } from "../shared/plugin-context-data-iKSAvmTX.mjs";
4
+ import { aliasPlugin, buildImportAnalysisPlugin, composeJsPlugins, dynamicImportVarsPlugin, experimental_scan, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, replacePlugin, transformPlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/rolldown-Hf7txSlh.mjs";
5
5
  import { pathToFileURL } from "node:url";
6
6
 
7
7
  //#region src/plugin/parallel-plugin.ts
@@ -1,8 +1,8 @@
1
1
  import __node_module__ from 'node:module';
2
2
  const require = __node_module__.createRequire(import.meta.url)
3
- import "../shared/plugin-context-data-AMG1kfMv.mjs";
4
- import { rolldown } from "../shared/rolldown-6vsB7_d4.mjs";
5
- import { version } from "../shared/package-PjxauRxS.mjs";
3
+ import "../shared/plugin-context-data-iKSAvmTX.mjs";
4
+ import { rolldown } from "../shared/rolldown-Hf7txSlh.mjs";
5
+ import { version } from "../shared/package-unZcnfG9.mjs";
6
6
 
7
7
  //#region src/utils/define-config.ts
8
8
  function defineConfig(config) {
@@ -1,6 +1,6 @@
1
1
  import __node_module__ from 'node:module';
2
2
  const require = __node_module__.createRequire(import.meta.url)
3
- import { PluginContextData, __toESM, bindingifyPlugin, require_binding } from "../shared/plugin-context-data-AMG1kfMv.mjs";
3
+ import { PluginContextData, __toESM, bindingifyPlugin, require_binding } from "../shared/plugin-context-data-iKSAvmTX.mjs";
4
4
  import { parentPort, workerData } from "node:worker_threads";
5
5
 
6
6
  //#region src/parallel-plugin-worker.ts
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
  //#region package.json
5
- const version = "0.13.1";
5
+ const version = "0.13.2";
6
6
  const description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
7
7
 
8
8
  //#endregion
@@ -2,7 +2,7 @@ import __node_module__ from 'node:module';
2
2
  const require = __node_module__.createRequire(import.meta.url)
3
3
 
4
4
  //#region package.json
5
- const version = "0.13.1";
5
+ const version = "0.13.2";
6
6
  const description = "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.";
7
7
 
8
8
  //#endregion
@@ -1077,7 +1077,6 @@ function bindingifyLoad(plugin, normalized_options, pluginContextData) {
1077
1077
  return {};
1078
1078
  }
1079
1079
  const { handler: handler, meta: meta, options: options } = normalizeHook(hook);
1080
- console.log(`options.filter: `, options.filter);
1081
1080
  return {
1082
1081
  plugin: async (ctx, id) => {
1083
1082
  const ret = await handler.call(new PluginContext(normalized_options, ctx, plugin, pluginContextData), id);
@@ -1108,7 +1108,6 @@ function bindingifyLoad(plugin, normalized_options, pluginContextData) {
1108
1108
  return {};
1109
1109
  }
1110
1110
  const { handler: handler, meta: meta, options: options } = normalizeHook(hook);
1111
- console.log(`options.filter: `, options.filter);
1112
1111
  return {
1113
1112
  plugin: async (ctx, id) => {
1114
1113
  const ret = await handler.call(new PluginContext(normalized_options, ctx, plugin, pluginContextData), id);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  const { __toESM } = require("./chunk-gQ4GMlVi.cjs");
4
- const { LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_WARN, PluginContextData, SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF, arraify, bindingifyPlugin, error, getLogHandler, isNullish, logLevelPriority, logPluginError, normalizeHook, normalizeLog, normalizedStringOrRegex, require_binding, transformToRollupOutput, unimplemented } = require("./plugin-context-data-S1bXhfAf.cjs");
4
+ const { LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_WARN, PluginContextData, SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF, arraify, bindingifyPlugin, error, getLogHandler, isNullish, logLevelPriority, logPluginError, normalizeHook, normalizeLog, normalizedStringOrRegex, require_binding, transformToRollupOutput, unimplemented } = require("./plugin-context-data-F1I9ytXp.cjs");
5
5
  const { default: path } = __toESM(require("node:path"));
6
6
  const { isRegExp, isRegExp: isRegExp$1 } = __toESM(require("node:util/types"));
7
7
  const { Worker } = __toESM(require("node:worker_threads"));
@@ -1,6 +1,6 @@
1
1
  import __node_module__ from 'node:module';
2
2
  const require = __node_module__.createRequire(import.meta.url)
3
- import { LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_WARN, PluginContextData, SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF, __toESM, arraify, bindingifyPlugin, error, getLogHandler, isNullish, logLevelPriority, logPluginError, normalizeHook, normalizeLog, normalizedStringOrRegex, require_binding, transformToRollupOutput, unimplemented } from "./plugin-context-data-AMG1kfMv.mjs";
3
+ import { LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_WARN, PluginContextData, SYMBOL_FOR_RESOLVE_CALLER_THAT_SKIP_SELF, __toESM, arraify, bindingifyPlugin, error, getLogHandler, isNullish, logLevelPriority, logPluginError, normalizeHook, normalizeLog, normalizedStringOrRegex, require_binding, transformToRollupOutput, unimplemented } from "./plugin-context-data-iKSAvmTX.mjs";
4
4
  import { default as path } from "node:path";
5
5
  import { isRegExp, isRegExp as isRegExp$1 } from "node:util/types";
6
6
  import { Worker } from "node:worker_threads";
@@ -103,6 +103,8 @@ export interface ArrowFunctionsBindingOptions {
103
103
  }
104
104
 
105
105
  export interface BindingAdvancedChunksOptions {
106
+ minSize?: number
107
+ minShareCount?: number
106
108
  groups?: Array<BindingMatchGroup>
107
109
  }
108
110
 
@@ -265,6 +267,8 @@ export interface BindingMatchGroup {
265
267
  name: string
266
268
  test?: string
267
269
  priority?: number
270
+ minSize?: number
271
+ minShareCount?: number
268
272
  }
269
273
 
270
274
  export interface BindingModulePreloadPolyfillPluginConfig {
@@ -85,28 +85,44 @@ export declare const cliOptionsSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
85
85
  externalLiveBindings: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
86
86
  inlineDynamicImports: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
87
87
  advancedChunks: z.ZodOptional<z.ZodObject<{
88
+ minSize: z.ZodOptional<z.ZodNumber>;
89
+ minShareCount: z.ZodOptional<z.ZodNumber>;
88
90
  groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
89
91
  name: z.ZodString;
90
92
  test: z.ZodOptional<z.ZodString>;
91
93
  priority: z.ZodOptional<z.ZodNumber>;
94
+ minSize: z.ZodOptional<z.ZodNumber>;
95
+ minShareCount: z.ZodOptional<z.ZodNumber>;
92
96
  }, "strict", z.ZodTypeAny, {
93
97
  name: string;
98
+ minSize?: number | undefined;
99
+ minShareCount?: number | undefined;
94
100
  test?: string | undefined;
95
101
  priority?: number | undefined;
96
102
  }, {
97
103
  name: string;
104
+ minSize?: number | undefined;
105
+ minShareCount?: number | undefined;
98
106
  test?: string | undefined;
99
107
  priority?: number | undefined;
100
108
  }>, "many">>;
101
109
  }, "strict", z.ZodTypeAny, {
110
+ minSize?: number | undefined;
111
+ minShareCount?: number | undefined;
102
112
  groups?: {
103
113
  name: string;
114
+ minSize?: number | undefined;
115
+ minShareCount?: number | undefined;
104
116
  test?: string | undefined;
105
117
  priority?: number | undefined;
106
118
  }[] | undefined;
107
119
  }, {
120
+ minSize?: number | undefined;
121
+ minShareCount?: number | undefined;
108
122
  groups?: {
109
123
  name: string;
124
+ minSize?: number | undefined;
125
+ minShareCount?: number | undefined;
110
126
  test?: string | undefined;
111
127
  priority?: number | undefined;
112
128
  }[] | undefined;
@@ -149,8 +165,12 @@ export declare const cliOptionsSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
149
165
  externalLiveBindings?: boolean | undefined;
150
166
  inlineDynamicImports?: boolean | undefined;
151
167
  advancedChunks?: {
168
+ minSize?: number | undefined;
169
+ minShareCount?: number | undefined;
152
170
  groups?: {
153
171
  name: string;
172
+ minSize?: number | undefined;
173
+ minShareCount?: number | undefined;
154
174
  test?: string | undefined;
155
175
  priority?: number | undefined;
156
176
  }[] | undefined;
@@ -188,8 +208,12 @@ export declare const cliOptionsSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
188
208
  externalLiveBindings?: boolean | undefined;
189
209
  inlineDynamicImports?: boolean | undefined;
190
210
  advancedChunks?: {
211
+ minSize?: number | undefined;
212
+ minShareCount?: number | undefined;
191
213
  groups?: {
192
214
  name: string;
215
+ minSize?: number | undefined;
216
+ minShareCount?: number | undefined;
193
217
  test?: string | undefined;
194
218
  priority?: number | undefined;
195
219
  }[] | undefined;
@@ -23,28 +23,44 @@ declare const outputOptionsSchema: z.ZodObject<{
23
23
  externalLiveBindings: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
24
24
  inlineDynamicImports: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
25
25
  advancedChunks: z.ZodOptional<z.ZodObject<{
26
+ minSize: z.ZodOptional<z.ZodNumber>;
27
+ minShareCount: z.ZodOptional<z.ZodNumber>;
26
28
  groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
27
29
  name: z.ZodString;
28
30
  test: z.ZodOptional<z.ZodString>;
29
31
  priority: z.ZodOptional<z.ZodNumber>;
32
+ minSize: z.ZodOptional<z.ZodNumber>;
33
+ minShareCount: z.ZodOptional<z.ZodNumber>;
30
34
  }, "strict", z.ZodTypeAny, {
31
35
  name: string;
36
+ minSize?: number | undefined;
37
+ minShareCount?: number | undefined;
32
38
  test?: string | undefined;
33
39
  priority?: number | undefined;
34
40
  }, {
35
41
  name: string;
42
+ minSize?: number | undefined;
43
+ minShareCount?: number | undefined;
36
44
  test?: string | undefined;
37
45
  priority?: number | undefined;
38
46
  }>, "many">>;
39
47
  }, "strict", z.ZodTypeAny, {
48
+ minSize?: number | undefined;
49
+ minShareCount?: number | undefined;
40
50
  groups?: {
41
51
  name: string;
52
+ minSize?: number | undefined;
53
+ minShareCount?: number | undefined;
42
54
  test?: string | undefined;
43
55
  priority?: number | undefined;
44
56
  }[] | undefined;
45
57
  }, {
58
+ minSize?: number | undefined;
59
+ minShareCount?: number | undefined;
46
60
  groups?: {
47
61
  name: string;
62
+ minSize?: number | undefined;
63
+ minShareCount?: number | undefined;
48
64
  test?: string | undefined;
49
65
  priority?: number | undefined;
50
66
  }[] | undefined;
@@ -71,8 +87,12 @@ declare const outputOptionsSchema: z.ZodObject<{
71
87
  externalLiveBindings?: boolean | undefined;
72
88
  inlineDynamicImports?: boolean | undefined;
73
89
  advancedChunks?: {
90
+ minSize?: number | undefined;
91
+ minShareCount?: number | undefined;
74
92
  groups?: {
75
93
  name: string;
94
+ minSize?: number | undefined;
95
+ minShareCount?: number | undefined;
76
96
  test?: string | undefined;
77
97
  priority?: number | undefined;
78
98
  }[] | undefined;
@@ -99,8 +119,12 @@ declare const outputOptionsSchema: z.ZodObject<{
99
119
  externalLiveBindings?: boolean | undefined;
100
120
  inlineDynamicImports?: boolean | undefined;
101
121
  advancedChunks?: {
122
+ minSize?: number | undefined;
123
+ minShareCount?: number | undefined;
102
124
  groups?: {
103
125
  name: string;
126
+ minSize?: number | undefined;
127
+ minShareCount?: number | undefined;
104
128
  test?: string | undefined;
105
129
  priority?: number | undefined;
106
130
  }[] | undefined;
@@ -128,28 +152,44 @@ export declare const outputCliOptionsSchema: z.ZodObject<Omit<z.objectUtil.exten
128
152
  externalLiveBindings: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
129
153
  inlineDynamicImports: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
130
154
  advancedChunks: z.ZodOptional<z.ZodObject<{
155
+ minSize: z.ZodOptional<z.ZodNumber>;
156
+ minShareCount: z.ZodOptional<z.ZodNumber>;
131
157
  groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
158
  name: z.ZodString;
133
159
  test: z.ZodOptional<z.ZodString>;
134
160
  priority: z.ZodOptional<z.ZodNumber>;
161
+ minSize: z.ZodOptional<z.ZodNumber>;
162
+ minShareCount: z.ZodOptional<z.ZodNumber>;
135
163
  }, "strict", z.ZodTypeAny, {
136
164
  name: string;
165
+ minSize?: number | undefined;
166
+ minShareCount?: number | undefined;
137
167
  test?: string | undefined;
138
168
  priority?: number | undefined;
139
169
  }, {
140
170
  name: string;
171
+ minSize?: number | undefined;
172
+ minShareCount?: number | undefined;
141
173
  test?: string | undefined;
142
174
  priority?: number | undefined;
143
175
  }>, "many">>;
144
176
  }, "strict", z.ZodTypeAny, {
177
+ minSize?: number | undefined;
178
+ minShareCount?: number | undefined;
145
179
  groups?: {
146
180
  name: string;
181
+ minSize?: number | undefined;
182
+ minShareCount?: number | undefined;
147
183
  test?: string | undefined;
148
184
  priority?: number | undefined;
149
185
  }[] | undefined;
150
186
  }, {
187
+ minSize?: number | undefined;
188
+ minShareCount?: number | undefined;
151
189
  groups?: {
152
190
  name: string;
191
+ minSize?: number | undefined;
192
+ minShareCount?: number | undefined;
153
193
  test?: string | undefined;
154
194
  priority?: number | undefined;
155
195
  }[] | undefined;
@@ -183,8 +223,12 @@ export declare const outputCliOptionsSchema: z.ZodObject<Omit<z.objectUtil.exten
183
223
  externalLiveBindings?: boolean | undefined;
184
224
  inlineDynamicImports?: boolean | undefined;
185
225
  advancedChunks?: {
226
+ minSize?: number | undefined;
227
+ minShareCount?: number | undefined;
186
228
  groups?: {
187
229
  name: string;
230
+ minSize?: number | undefined;
231
+ minShareCount?: number | undefined;
188
232
  test?: string | undefined;
189
233
  priority?: number | undefined;
190
234
  }[] | undefined;
@@ -210,8 +254,12 @@ export declare const outputCliOptionsSchema: z.ZodObject<Omit<z.objectUtil.exten
210
254
  externalLiveBindings?: boolean | undefined;
211
255
  inlineDynamicImports?: boolean | undefined;
212
256
  advancedChunks?: {
257
+ minSize?: number | undefined;
258
+ minShareCount?: number | undefined;
213
259
  groups?: {
214
260
  name: string;
261
+ minSize?: number | undefined;
262
+ minShareCount?: number | undefined;
215
263
  test?: string | undefined;
216
264
  priority?: number | undefined;
217
265
  }[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
5
5
  "homepage": "https://rolldown.rs/",
6
6
  "repository": {
@@ -103,21 +103,21 @@
103
103
  "why-is-node-running": "^3.0.0",
104
104
  "zod-to-json-schema": "^3.23.2",
105
105
  "@rolldown/testing": "0.0.1",
106
- "rolldown": "0.13.1"
106
+ "rolldown": "0.13.2"
107
107
  },
108
108
  "optionalDependencies": {
109
- "@rolldown/binding-darwin-arm64": "0.13.1",
110
- "@rolldown/binding-darwin-x64": "0.13.1",
111
- "@rolldown/binding-freebsd-x64": "0.13.1",
112
- "@rolldown/binding-linux-arm64-gnu": "0.13.1",
113
- "@rolldown/binding-linux-arm64-musl": "0.13.1",
114
- "@rolldown/binding-linux-arm-gnueabihf": "0.13.1",
115
- "@rolldown/binding-linux-x64-gnu": "0.13.1",
116
- "@rolldown/binding-linux-x64-musl": "0.13.1",
117
- "@rolldown/binding-wasm32-wasi": "0.13.1",
118
- "@rolldown/binding-win32-ia32-msvc": "0.13.1",
119
- "@rolldown/binding-win32-arm64-msvc": "0.13.1",
120
- "@rolldown/binding-win32-x64-msvc": "0.13.1"
109
+ "@rolldown/binding-darwin-arm64": "0.13.2",
110
+ "@rolldown/binding-darwin-x64": "0.13.2",
111
+ "@rolldown/binding-freebsd-x64": "0.13.2",
112
+ "@rolldown/binding-linux-arm64-gnu": "0.13.2",
113
+ "@rolldown/binding-linux-arm-gnueabihf": "0.13.2",
114
+ "@rolldown/binding-linux-arm64-musl": "0.13.2",
115
+ "@rolldown/binding-linux-x64-gnu": "0.13.2",
116
+ "@rolldown/binding-linux-x64-musl": "0.13.2",
117
+ "@rolldown/binding-wasm32-wasi": "0.13.2",
118
+ "@rolldown/binding-win32-arm64-msvc": "0.13.2",
119
+ "@rolldown/binding-win32-ia32-msvc": "0.13.2",
120
+ "@rolldown/binding-win32-x64-msvc": "0.13.2"
121
121
  },
122
122
  "scripts": {
123
123
  "# Scrips for binding #": "_",