@unpackjs/core 1.3.3 → 1.4.1

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.
@@ -84,8 +84,6 @@ async function loadConfig({
84
84
  (0, import_shared.setValueByPath)(parsedUserConfig, ["server", "open"], cliOptions.open);
85
85
  if (cliOptions.analyze)
86
86
  (0, import_shared.setValueByPath)(parsedUserConfig, ["performance", "bundleAnalyze"], cliOptions.analyze);
87
- if (cliOptions.doctor)
88
- (0, import_shared.setValueByPath)(parsedUserConfig, ["performance", "doctor"], cliOptions.doctor);
89
87
  let { plugins, bundlerConfig, ...rest } = merge(defaultConfig, parsedUserConfig);
90
88
  for (const plugin of (0, import_shared.getNormalizedPluginsByHook)("config", plugins)) {
91
89
  rest = await plugin.config(rest, { mergeConfig: merge });
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,UAAU,EACf,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EAQlB,MAAM,kBAAkB,CAAA;AAIzB,wBAAsB,UAAU,CAAC,EAC/B,IAAI,EACJ,UAAU,GACX,EAAE;IACD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,UAAU,CAAA;CACxB,GAAG,OAAO,CAAC,YAAY,CAAC,CAuDxB;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,GAAG,EAAE,OAAO,CAAA;IACZ,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG,CAAC,MAAM,EAAE,YAAY,KAAK,OAAO,CAAC,YAAY,CAAC,CAAA;AACjF,MAAM,MAAM,kBAAkB,GAAG,CAAC,MAAM,EAAE,YAAY,KAAK,YAAY,CAAA;AACvE,MAAM,MAAM,kBAAkB,GAAG,YAAY,GAAG,kBAAkB,GAAG,mBAAmB,CAAA;AACxF,wBAAg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 +68,6 @@ async function loadConfig({
68
68
  setValueByPath(parsedUserConfig, ["server", "open"], cliOptions.open);
69
69
  if (cliOptions.analyze)
70
70
  setValueByPath(parsedUserConfig, ["performance", "bundleAnalyze"], cliOptions.analyze);
71
- if (cliOptions.doctor)
72
- setValueByPath(parsedUserConfig, ["performance", "doctor"], cliOptions.doctor);
73
71
  let { plugins, bundlerConfig, ...rest } = merge(defaultConfig, parsedUserConfig);
74
72
  for (const plugin of getNormalizedPluginsByHook("config", plugins)) {
75
73
  rest = await plugin.config(rest, { mergeConfig: merge });
package/dist/index.cjs CHANGED
@@ -37,7 +37,7 @@ async function createService({ command, root, cliOptions }) {
37
37
  }
38
38
  if (!(0, import_shared.isDevServer)()) {
39
39
  console.log(
40
- chalk.cyan(`unpack v${"1.3.3"}`),
40
+ chalk.cyan(`unpack v${"1.4.1"}`),
41
41
  chalk.green(`building for ${(0, import_shared.isDev)() ? "development" : "production"}...`)
42
42
  );
43
43
  }
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ async function createService({ command, root, cliOptions }) {
28
28
  }
29
29
  if (!isDevServer()) {
30
30
  console.log(
31
- chalk.cyan(`unpack v${"1.3.3"}`),
31
+ chalk.cyan(`unpack v${"1.4.1"}`),
32
32
  chalk.green(`building for ${isDev() ? "development" : "production"}...`)
33
33
  );
34
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unpackjs/core",
3
- "version": "1.3.3",
3
+ "version": "1.4.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "exports": {
@@ -23,10 +23,10 @@
23
23
  "access": "public"
24
24
  },
25
25
  "dependencies": {
26
- "@unpackjs/bundler-rspack": "^1.3.3",
27
- "@unpackjs/bundler-webpack": "^1.3.3",
28
- "@unpackjs/shared": "^1.3.3",
29
- "@unpackjs/plugin-react": "^1.3.3"
26
+ "@unpackjs/bundler-rspack": "^1.4.1",
27
+ "@unpackjs/bundler-webpack": "^1.4.1",
28
+ "@unpackjs/shared": "^1.4.1",
29
+ "@unpackjs/plugin-react": "^1.4.1"
30
30
  },
31
31
  "scripts": {
32
32
  "dev": "modern build --watch",