rolldown 0.13.2-snapshot-5bebe9c-20240914003215 → 0.13.2-snapshot-e52ef2f-20240916003232

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  const { __export, __toESM } = require("../shared/chunk-gQ4GMlVi.cjs");
4
4
  const { LogLevelOptionSchema, LogLevelSchema, LogLevelWithErrorSchema, RollupLogSchema, RollupLogWithStringSchema, arraify } = require("../shared/plugin-context-data-FJ1YGy-x.cjs");
5
- const { rolldown } = require("../shared/rolldown-3-nelcKd.cjs");
5
+ const { rolldown } = require("../shared/rolldown-OWFKsW7_.cjs");
6
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"));
@@ -1367,14 +1367,14 @@ const outputOptionsSchema = z$1.strictObject({
1367
1367
  footer: ((z$1.string()).or(addonFunctionSchema)).optional(),
1368
1368
  intro: ((z$1.string()).or(addonFunctionSchema)).optional(),
1369
1369
  outro: ((z$1.string()).or(addonFunctionSchema)).optional(),
1370
- extend: ((z$1.boolean()).describe("extend global variable defined by name in IIFE or UMD formats")).optional(),
1370
+ extend: ((z$1.boolean()).describe("extend global variable defined by name in IIFE / UMD formats")).optional(),
1371
1371
  esModule: ((z$1.literal("if-default-prop")).or(z$1.boolean())).optional(),
1372
1372
  entryFileNames: ((z$1.string()).or(chunkFileNamesFunctionSchema)).optional(),
1373
1373
  chunkFileNames: ((z$1.string()).or(chunkFileNamesFunctionSchema)).optional(),
1374
1374
  assetFileNames: (z$1.string()).optional(),
1375
1375
  minify: ((z$1.boolean()).describe("minify the bundled file.")).optional(),
1376
1376
  name: ((z$1.string()).describe("name for UMD / IIFE format outputs")).optional(),
1377
- globals: ((z$1.record(z$1.string())).describe("Comma-separated list of `module-id:global` pairs (`<module-id>:<global>,...`)")).optional(),
1377
+ globals: ((z$1.record(z$1.string())).describe("global variable of UMD / IIFE dependencies (syntax: `key=value`)")).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
1380
  advancedChunks: (z$1.strictObject({
@@ -1398,9 +1398,14 @@ const outputCliOptionsSchema = (outputOptionsSchema.extend({
1398
1398
  intro: ((z$1.string()).describe(getAddonDescription("top", "inside"))).optional(),
1399
1399
  outro: ((z$1.string()).describe(getAddonDescription("bottom", "inside"))).optional(),
1400
1400
  esModule: ((z$1.boolean()).describe("always generate `__esModule` marks in non-ESM formats, defaults to `if-default-prop` (use `--no-esModule` to always disable).")).optional(),
1401
- sourcemapIgnoreList: (z$1.boolean()).optional(),
1402
- sourcemapPathTransform: (z$1.undefined()).optional()
1403
- })).omit({sourcemapPathTransform: true});
1401
+ advancedChunks: (z$1.strictObject({
1402
+ minSize: ((z$1.number()).describe("minimum size of the chunk")).optional(),
1403
+ minShareCount: ((z$1.number()).describe("minimum share count of the chunk")).optional()
1404
+ })).optional()
1405
+ })).omit({
1406
+ sourcemapPathTransform: true,
1407
+ sourcemapIgnoreList: true
1408
+ });
1404
1409
 
1405
1410
  //#endregion
1406
1411
  //#region src/cli/arguments/schema.ts
@@ -1416,7 +1421,6 @@ const schema = zodToJsonSchema(cliOptionsSchema);
1416
1421
  const alias = {
1417
1422
  config: {
1418
1423
  abbreviation: "c",
1419
- description: "Use config file",
1420
1424
  hint: "filename",
1421
1425
  default: "rolldown.config.js"
1422
1426
  },
@@ -1444,9 +1448,6 @@ const alias = {
1444
1448
  //#endregion
1445
1449
  //#region src/cli/arguments/utils.ts
1446
1450
  function getSchemaType(schema$1) {
1447
- if ("type"in schema$1) {
1448
- return schema$1.type;
1449
- }
1450
1451
  if ("anyOf"in schema$1) {
1451
1452
  const types = schema$1.anyOf.map((s) => getSchemaType(s));
1452
1453
  if (types.includes("object")) return "object";
@@ -1455,6 +1456,9 @@ else if (types.includes("string")) return "string";
1455
1456
  else if (types.includes("number")) return "number";
1456
1457
  else if (types.includes("boolean")) return "boolean";
1457
1458
  }
1459
+ if ("type"in schema$1) {
1460
+ return schema$1.type;
1461
+ }
1458
1462
  return "object";
1459
1463
  }
1460
1464
  function flattenSchema(schema$1, base = {}, parent = "") {
@@ -1503,7 +1507,7 @@ function normalizeCliOptions(cliOptions, positionals) {
1503
1507
  const options$1 = parsed.data ?? {};
1504
1508
  if (!parsed.success) {
1505
1509
  parsed.error.errors.forEach((error) => {
1506
- logger.error(`Invalid value for option: ${error.path.join(", ")}. ${error.message}. You can use \`rolldown -h\` to see the help.`);
1510
+ logger.error(`Invalid value for option ${error.path.join(", ")}. You can use \`rolldown -h\` to see the help.`);
1507
1511
  });
1508
1512
  process.exit(1);
1509
1513
  }
@@ -1575,11 +1579,20 @@ function parseCliArguments() {
1575
1579
  option.name = kebabCaseToCamelCase(option.name);
1576
1580
  let originalType = flattenedSchema[option.name];
1577
1581
  if (!originalType) {
1578
- logger.warn(`Invalid option: ${option.rawName}. We will ignore this option.`);
1579
- return;
1582
+ logger.error(`Invalid option: ${option.rawName}. We will ignore this option.`);
1583
+ process.exit(1);
1580
1584
  }
1581
1585
  let type = getSchemaType(originalType);
1582
- if (type === "object" && typeof option.value === "string") {
1586
+ if (type === "string" && typeof option.value !== "string") {
1587
+ let opt = option;
1588
+ let defaultValue = (Object.getOwnPropertyDescriptor(alias, opt.name))?.value;
1589
+ Object.defineProperty(values, opt.name, {
1590
+ value: defaultValue.default ?? "",
1591
+ enumerable: true,
1592
+ configurable: true,
1593
+ writable: true
1594
+ });
1595
+ } else if (type === "object" && typeof option.value === "string") {
1583
1596
  const [key, value] = ((option.value?.split(",")).map((x) => x.split("=")))[0];
1584
1597
  if (!values[option.name]) {
1585
1598
  Object.defineProperty(values, option.name, {
@@ -2,7 +2,7 @@
2
2
 
3
3
  const { __toESM } = require("../shared/chunk-gQ4GMlVi.cjs");
4
4
  const { require_binding } = require("../shared/plugin-context-data-FJ1YGy-x.cjs");
5
- const { aliasPlugin, buildImportAnalysisPlugin, composeJsPlugins, dynamicImportVarsPlugin, experimental_scan, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, replacePlugin, transformPlugin, wasmFallbackPlugin, wasmHelperPlugin } = require("../shared/rolldown-3-nelcKd.cjs");
5
+ const { aliasPlugin, buildImportAnalysisPlugin, composeJsPlugins, dynamicImportVarsPlugin, experimental_scan, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, replacePlugin, transformPlugin, wasmFallbackPlugin, wasmHelperPlugin } = require("../shared/rolldown-OWFKsW7_.cjs");
6
6
  const { pathToFileURL } = __toESM(require("node:url"));
7
7
 
8
8
  //#region src/plugin/parallel-plugin.ts
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  require("../shared/plugin-context-data-FJ1YGy-x.cjs");
4
- const { rolldown } = require("../shared/rolldown-3-nelcKd.cjs");
4
+ const { rolldown } = require("../shared/rolldown-OWFKsW7_.cjs");
5
5
  const { version } = require("../shared/package-8qJYyGdm.cjs");
6
6
 
7
7
  //#region src/utils/define-config.ts
package/dist/esm/cli.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  import __node_module__ from 'node:module';
2
2
  const require = __node_module__.createRequire(import.meta.url)
3
3
  import { LogLevelOptionSchema, LogLevelSchema, LogLevelWithErrorSchema, RollupLogSchema, RollupLogWithStringSchema, __export, arraify } from "../shared/plugin-context-data-w8vU2C6p.mjs";
4
- import { rolldown } from "../shared/rolldown-oxlTUFUM.mjs";
4
+ import { rolldown } from "../shared/rolldown-NVk-V_El.mjs";
5
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";
@@ -1366,14 +1366,14 @@ const outputOptionsSchema = z$1.strictObject({
1366
1366
  footer: ((z$1.string()).or(addonFunctionSchema)).optional(),
1367
1367
  intro: ((z$1.string()).or(addonFunctionSchema)).optional(),
1368
1368
  outro: ((z$1.string()).or(addonFunctionSchema)).optional(),
1369
- extend: ((z$1.boolean()).describe("extend global variable defined by name in IIFE or UMD formats")).optional(),
1369
+ extend: ((z$1.boolean()).describe("extend global variable defined by name in IIFE / UMD formats")).optional(),
1370
1370
  esModule: ((z$1.literal("if-default-prop")).or(z$1.boolean())).optional(),
1371
1371
  entryFileNames: ((z$1.string()).or(chunkFileNamesFunctionSchema)).optional(),
1372
1372
  chunkFileNames: ((z$1.string()).or(chunkFileNamesFunctionSchema)).optional(),
1373
1373
  assetFileNames: (z$1.string()).optional(),
1374
1374
  minify: ((z$1.boolean()).describe("minify the bundled file.")).optional(),
1375
1375
  name: ((z$1.string()).describe("name for UMD / IIFE format outputs")).optional(),
1376
- globals: ((z$1.record(z$1.string())).describe("Comma-separated list of `module-id:global` pairs (`<module-id>:<global>,...`)")).optional(),
1376
+ globals: ((z$1.record(z$1.string())).describe("global variable of UMD / IIFE dependencies (syntax: `key=value`)")).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
1379
  advancedChunks: (z$1.strictObject({
@@ -1397,9 +1397,14 @@ const outputCliOptionsSchema = (outputOptionsSchema.extend({
1397
1397
  intro: ((z$1.string()).describe(getAddonDescription("top", "inside"))).optional(),
1398
1398
  outro: ((z$1.string()).describe(getAddonDescription("bottom", "inside"))).optional(),
1399
1399
  esModule: ((z$1.boolean()).describe("always generate `__esModule` marks in non-ESM formats, defaults to `if-default-prop` (use `--no-esModule` to always disable).")).optional(),
1400
- sourcemapIgnoreList: (z$1.boolean()).optional(),
1401
- sourcemapPathTransform: (z$1.undefined()).optional()
1402
- })).omit({sourcemapPathTransform: true});
1400
+ advancedChunks: (z$1.strictObject({
1401
+ minSize: ((z$1.number()).describe("minimum size of the chunk")).optional(),
1402
+ minShareCount: ((z$1.number()).describe("minimum share count of the chunk")).optional()
1403
+ })).optional()
1404
+ })).omit({
1405
+ sourcemapPathTransform: true,
1406
+ sourcemapIgnoreList: true
1407
+ });
1403
1408
 
1404
1409
  //#endregion
1405
1410
  //#region src/cli/arguments/schema.ts
@@ -1415,7 +1420,6 @@ const schema = zodToJsonSchema(cliOptionsSchema);
1415
1420
  const alias = {
1416
1421
  config: {
1417
1422
  abbreviation: "c",
1418
- description: "Use config file",
1419
1423
  hint: "filename",
1420
1424
  default: "rolldown.config.js"
1421
1425
  },
@@ -1443,9 +1447,6 @@ const alias = {
1443
1447
  //#endregion
1444
1448
  //#region src/cli/arguments/utils.ts
1445
1449
  function getSchemaType(schema$1) {
1446
- if ("type"in schema$1) {
1447
- return schema$1.type;
1448
- }
1449
1450
  if ("anyOf"in schema$1) {
1450
1451
  const types = schema$1.anyOf.map((s) => getSchemaType(s));
1451
1452
  if (types.includes("object")) return "object";
@@ -1454,6 +1455,9 @@ else if (types.includes("string")) return "string";
1454
1455
  else if (types.includes("number")) return "number";
1455
1456
  else if (types.includes("boolean")) return "boolean";
1456
1457
  }
1458
+ if ("type"in schema$1) {
1459
+ return schema$1.type;
1460
+ }
1457
1461
  return "object";
1458
1462
  }
1459
1463
  function flattenSchema(schema$1, base = {}, parent = "") {
@@ -1502,7 +1506,7 @@ function normalizeCliOptions(cliOptions, positionals) {
1502
1506
  const options$1 = parsed.data ?? {};
1503
1507
  if (!parsed.success) {
1504
1508
  parsed.error.errors.forEach((error) => {
1505
- logger.error(`Invalid value for option: ${error.path.join(", ")}. ${error.message}. You can use \`rolldown -h\` to see the help.`);
1509
+ logger.error(`Invalid value for option ${error.path.join(", ")}. You can use \`rolldown -h\` to see the help.`);
1506
1510
  });
1507
1511
  process.exit(1);
1508
1512
  }
@@ -1574,11 +1578,20 @@ function parseCliArguments() {
1574
1578
  option.name = kebabCaseToCamelCase(option.name);
1575
1579
  let originalType = flattenedSchema[option.name];
1576
1580
  if (!originalType) {
1577
- logger.warn(`Invalid option: ${option.rawName}. We will ignore this option.`);
1578
- return;
1581
+ logger.error(`Invalid option: ${option.rawName}. We will ignore this option.`);
1582
+ process.exit(1);
1579
1583
  }
1580
1584
  let type = getSchemaType(originalType);
1581
- if (type === "object" && typeof option.value === "string") {
1585
+ if (type === "string" && typeof option.value !== "string") {
1586
+ let opt = option;
1587
+ let defaultValue = (Object.getOwnPropertyDescriptor(alias, opt.name))?.value;
1588
+ Object.defineProperty(values, opt.name, {
1589
+ value: defaultValue.default ?? "",
1590
+ enumerable: true,
1591
+ configurable: true,
1592
+ writable: true
1593
+ });
1594
+ } else if (type === "object" && typeof option.value === "string") {
1582
1595
  const [key, value] = ((option.value?.split(",")).map((x) => x.split("=")))[0];
1583
1596
  if (!values[option.name]) {
1584
1597
  Object.defineProperty(values, option.name, {
@@ -1,7 +1,7 @@
1
1
  import __node_module__ from 'node:module';
2
2
  const require = __node_module__.createRequire(import.meta.url)
3
3
  import { __toESM, require_binding } from "../shared/plugin-context-data-w8vU2C6p.mjs";
4
- import { aliasPlugin, buildImportAnalysisPlugin, composeJsPlugins, dynamicImportVarsPlugin, experimental_scan, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, replacePlugin, transformPlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/rolldown-oxlTUFUM.mjs";
4
+ import { aliasPlugin, buildImportAnalysisPlugin, composeJsPlugins, dynamicImportVarsPlugin, experimental_scan, importGlobPlugin, jsonPlugin, loadFallbackPlugin, manifestPlugin, modulePreloadPolyfillPlugin, replacePlugin, transformPlugin, wasmFallbackPlugin, wasmHelperPlugin } from "../shared/rolldown-NVk-V_El.mjs";
5
5
  import { pathToFileURL } from "node:url";
6
6
 
7
7
  //#region src/plugin/parallel-plugin.ts
@@ -1,7 +1,7 @@
1
1
  import __node_module__ from 'node:module';
2
2
  const require = __node_module__.createRequire(import.meta.url)
3
3
  import "../shared/plugin-context-data-w8vU2C6p.mjs";
4
- import { rolldown } from "../shared/rolldown-oxlTUFUM.mjs";
4
+ import { rolldown } from "../shared/rolldown-NVk-V_El.mjs";
5
5
  import { version } from "../shared/package-unZcnfG9.mjs";
6
6
 
7
7
  //#region src/utils/define-config.ts
@@ -1009,7 +1009,7 @@ function bindingifySourcemap(sourcemap) {
1009
1009
  case true: return "file";
1010
1010
  case "inline": return "inline";
1011
1011
  case false:
1012
- case undefined:
1012
+ case undefined: return undefined;
1013
1013
  case "hidden": return "hidden";
1014
1014
  default: throw new Error(`unknown sourcemap: ${sourcemap}`);
1015
1015
  }
@@ -1010,7 +1010,7 @@ function bindingifySourcemap(sourcemap) {
1010
1010
  case true: return "file";
1011
1011
  case "inline": return "inline";
1012
1012
  case false:
1013
- case undefined:
1013
+ case undefined: return undefined;
1014
1014
  case "hidden": return "hidden";
1015
1015
  default: throw new Error(`unknown sourcemap: ${sourcemap}`);
1016
1016
  }
@@ -133,9 +133,17 @@ export declare const cliOptionsSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
133
133
  intro: z.ZodOptional<z.ZodString>;
134
134
  outro: z.ZodOptional<z.ZodString>;
135
135
  esModule: z.ZodOptional<z.ZodBoolean>;
136
- sourcemapIgnoreList: z.ZodOptional<z.ZodBoolean>;
137
- sourcemapPathTransform: z.ZodOptional<z.ZodUndefined>;
138
- }>, "sourcemapPathTransform">>, "strict", z.ZodTypeAny, {
136
+ advancedChunks: z.ZodOptional<z.ZodObject<{
137
+ minSize: z.ZodOptional<z.ZodNumber>;
138
+ minShareCount: z.ZodOptional<z.ZodNumber>;
139
+ }, "strict", z.ZodTypeAny, {
140
+ minSize?: number | undefined;
141
+ minShareCount?: number | undefined;
142
+ }, {
143
+ minSize?: number | undefined;
144
+ minShareCount?: number | undefined;
145
+ }>>;
146
+ }>, "sourcemapIgnoreList" | "sourcemapPathTransform">>, "strict", z.ZodTypeAny, {
139
147
  external?: string[] | undefined;
140
148
  cwd?: string | undefined;
141
149
  platform?: "node" | "browser" | "neutral" | undefined;
@@ -154,7 +162,6 @@ export declare const cliOptionsSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
154
162
  dir?: string | undefined;
155
163
  format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | undefined;
156
164
  sourcemap?: boolean | "inline" | "hidden" | undefined;
157
- sourcemapIgnoreList?: boolean | undefined;
158
165
  extend?: boolean | undefined;
159
166
  esModule?: boolean | undefined;
160
167
  entryFileNames?: string | ((args_0: import("../..").PreRenderedChunk, ...args_1: unknown[]) => string) | undefined;
@@ -167,13 +174,6 @@ export declare const cliOptionsSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
167
174
  advancedChunks?: {
168
175
  minSize?: number | undefined;
169
176
  minShareCount?: number | undefined;
170
- groups?: {
171
- name: string;
172
- minSize?: number | undefined;
173
- minShareCount?: number | undefined;
174
- test?: string | undefined;
175
- priority?: number | undefined;
176
- }[] | undefined;
177
177
  } | undefined;
178
178
  version?: boolean | undefined;
179
179
  config?: string | boolean | undefined;
@@ -197,7 +197,6 @@ export declare const cliOptionsSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
197
197
  dir?: string | undefined;
198
198
  format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | undefined;
199
199
  sourcemap?: boolean | "inline" | "hidden" | undefined;
200
- sourcemapIgnoreList?: boolean | undefined;
201
200
  extend?: boolean | undefined;
202
201
  esModule?: boolean | undefined;
203
202
  entryFileNames?: string | ((args_0: import("../..").PreRenderedChunk, ...args_1: unknown[]) => string) | undefined;
@@ -210,13 +209,6 @@ export declare const cliOptionsSchema: z.ZodObject<z.objectUtil.extendShape<z.ob
210
209
  advancedChunks?: {
211
210
  minSize?: number | undefined;
212
211
  minShareCount?: number | undefined;
213
- groups?: {
214
- name: string;
215
- minSize?: number | undefined;
216
- minShareCount?: number | undefined;
217
- test?: string | undefined;
218
- priority?: number | undefined;
219
- }[] | undefined;
220
212
  } | undefined;
221
213
  version?: boolean | undefined;
222
214
  config?: string | boolean | undefined;
@@ -200,9 +200,17 @@ export declare const outputCliOptionsSchema: z.ZodObject<Omit<z.objectUtil.exten
200
200
  intro: z.ZodOptional<z.ZodString>;
201
201
  outro: z.ZodOptional<z.ZodString>;
202
202
  esModule: z.ZodOptional<z.ZodBoolean>;
203
- sourcemapIgnoreList: z.ZodOptional<z.ZodBoolean>;
204
- sourcemapPathTransform: z.ZodOptional<z.ZodUndefined>;
205
- }>, "sourcemapPathTransform">, "strict", z.ZodTypeAny, {
203
+ advancedChunks: z.ZodOptional<z.ZodObject<{
204
+ minSize: z.ZodOptional<z.ZodNumber>;
205
+ minShareCount: z.ZodOptional<z.ZodNumber>;
206
+ }, "strict", z.ZodTypeAny, {
207
+ minSize?: number | undefined;
208
+ minShareCount?: number | undefined;
209
+ }, {
210
+ minSize?: number | undefined;
211
+ minShareCount?: number | undefined;
212
+ }>>;
213
+ }>, "sourcemapIgnoreList" | "sourcemapPathTransform">, "strict", z.ZodTypeAny, {
206
214
  footer?: string | undefined;
207
215
  banner?: string | undefined;
208
216
  intro?: string | undefined;
@@ -212,7 +220,6 @@ export declare const outputCliOptionsSchema: z.ZodObject<Omit<z.objectUtil.exten
212
220
  dir?: string | undefined;
213
221
  format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | undefined;
214
222
  sourcemap?: boolean | "inline" | "hidden" | undefined;
215
- sourcemapIgnoreList?: boolean | undefined;
216
223
  extend?: boolean | undefined;
217
224
  esModule?: boolean | undefined;
218
225
  entryFileNames?: string | ((args_0: PreRenderedChunk, ...args_1: unknown[]) => string) | undefined;
@@ -225,13 +232,6 @@ export declare const outputCliOptionsSchema: z.ZodObject<Omit<z.objectUtil.exten
225
232
  advancedChunks?: {
226
233
  minSize?: number | undefined;
227
234
  minShareCount?: number | undefined;
228
- groups?: {
229
- name: string;
230
- minSize?: number | undefined;
231
- minShareCount?: number | undefined;
232
- test?: string | undefined;
233
- priority?: number | undefined;
234
- }[] | undefined;
235
235
  } | undefined;
236
236
  }, {
237
237
  footer?: string | undefined;
@@ -243,7 +243,6 @@ export declare const outputCliOptionsSchema: z.ZodObject<Omit<z.objectUtil.exten
243
243
  dir?: string | undefined;
244
244
  format?: "es" | "cjs" | "esm" | "module" | "commonjs" | "iife" | undefined;
245
245
  sourcemap?: boolean | "inline" | "hidden" | undefined;
246
- sourcemapIgnoreList?: boolean | undefined;
247
246
  extend?: boolean | undefined;
248
247
  esModule?: boolean | undefined;
249
248
  entryFileNames?: string | ((args_0: PreRenderedChunk, ...args_1: unknown[]) => string) | undefined;
@@ -256,13 +255,6 @@ export declare const outputCliOptionsSchema: z.ZodObject<Omit<z.objectUtil.exten
256
255
  advancedChunks?: {
257
256
  minSize?: number | undefined;
258
257
  minShareCount?: number | undefined;
259
- groups?: {
260
- name: string;
261
- minSize?: number | undefined;
262
- minShareCount?: number | undefined;
263
- test?: string | undefined;
264
- priority?: number | undefined;
265
- }[] | undefined;
266
258
  } | undefined;
267
259
  }>;
268
260
  export type OutputOptions = z.infer<typeof outputOptionsSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rolldown",
3
- "version": "0.13.2-snapshot-5bebe9c-20240914003215",
3
+ "version": "0.13.2-snapshot-e52ef2f-20240916003232",
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.2-snapshot-5bebe9c-20240914003215"
106
+ "rolldown": "0.13.2-snapshot-e52ef2f-20240916003232"
107
107
  },
108
108
  "optionalDependencies": {
109
- "@rolldown/binding-darwin-arm64": "0.13.2-snapshot-5bebe9c-20240914003215",
110
- "@rolldown/binding-darwin-x64": "0.13.2-snapshot-5bebe9c-20240914003215",
111
- "@rolldown/binding-linux-arm64-gnu": "0.13.2-snapshot-5bebe9c-20240914003215",
112
- "@rolldown/binding-linux-arm-gnueabihf": "0.13.2-snapshot-5bebe9c-20240914003215",
113
- "@rolldown/binding-freebsd-x64": "0.13.2-snapshot-5bebe9c-20240914003215",
114
- "@rolldown/binding-linux-arm64-musl": "0.13.2-snapshot-5bebe9c-20240914003215",
115
- "@rolldown/binding-linux-x64-gnu": "0.13.2-snapshot-5bebe9c-20240914003215",
116
- "@rolldown/binding-linux-x64-musl": "0.13.2-snapshot-5bebe9c-20240914003215",
117
- "@rolldown/binding-wasm32-wasi": "0.13.2-snapshot-5bebe9c-20240914003215",
118
- "@rolldown/binding-win32-arm64-msvc": "0.13.2-snapshot-5bebe9c-20240914003215",
119
- "@rolldown/binding-win32-ia32-msvc": "0.13.2-snapshot-5bebe9c-20240914003215",
120
- "@rolldown/binding-win32-x64-msvc": "0.13.2-snapshot-5bebe9c-20240914003215"
109
+ "@rolldown/binding-darwin-arm64": "0.13.2-snapshot-e52ef2f-20240916003232",
110
+ "@rolldown/binding-darwin-x64": "0.13.2-snapshot-e52ef2f-20240916003232",
111
+ "@rolldown/binding-freebsd-x64": "0.13.2-snapshot-e52ef2f-20240916003232",
112
+ "@rolldown/binding-linux-arm-gnueabihf": "0.13.2-snapshot-e52ef2f-20240916003232",
113
+ "@rolldown/binding-linux-arm64-gnu": "0.13.2-snapshot-e52ef2f-20240916003232",
114
+ "@rolldown/binding-linux-x64-musl": "0.13.2-snapshot-e52ef2f-20240916003232",
115
+ "@rolldown/binding-linux-arm64-musl": "0.13.2-snapshot-e52ef2f-20240916003232",
116
+ "@rolldown/binding-linux-x64-gnu": "0.13.2-snapshot-e52ef2f-20240916003232",
117
+ "@rolldown/binding-wasm32-wasi": "0.13.2-snapshot-e52ef2f-20240916003232",
118
+ "@rolldown/binding-win32-arm64-msvc": "0.13.2-snapshot-e52ef2f-20240916003232",
119
+ "@rolldown/binding-win32-ia32-msvc": "0.13.2-snapshot-e52ef2f-20240916003232",
120
+ "@rolldown/binding-win32-x64-msvc": "0.13.2-snapshot-e52ef2f-20240916003232"
121
121
  },
122
122
  "scripts": {
123
123
  "# Scrips for binding #": "_",