@unpackjs/core 3.4.2 → 3.5.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.
@@ -1,22 +1,22 @@
1
1
  (() => {
2
2
  var __webpack_modules__ = {
3
- 2340: (module, __unused_webpack_exports, __nccwpck_require__) => {
3
+ 2278: (module, __unused_webpack_exports, __nccwpck_require__) => {
4
4
  "use strict";
5
- const loader = __nccwpck_require__(3674);
5
+ const loader = __nccwpck_require__(4860);
6
6
  module.exports = loader.default;
7
7
  module.exports.defaultGetLocalIdent =
8
- __nccwpck_require__(1947).defaultGetLocalIdent;
8
+ __nccwpck_require__(6549).defaultGetLocalIdent;
9
9
  },
10
- 3674: (__unused_webpack_module, exports, __nccwpck_require__) => {
10
+ 4860: (__unused_webpack_module, exports, __nccwpck_require__) => {
11
11
  "use strict";
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  exports["default"] = loader;
14
14
  var _postcss = _interopRequireDefault(__nccwpck_require__(1940));
15
15
  var _package = _interopRequireDefault(__nccwpck_require__(444));
16
16
  var _semver = __nccwpck_require__(5200);
17
- var _options = _interopRequireDefault(__nccwpck_require__(5824));
18
- var _plugins = __nccwpck_require__(1513);
19
- var _utils = __nccwpck_require__(1947);
17
+ var _options = _interopRequireDefault(__nccwpck_require__(2926));
18
+ var _plugins = __nccwpck_require__(6643);
19
+ var _utils = __nccwpck_require__(6549);
20
20
  function _interopRequireDefault(obj) {
21
21
  return obj && obj.__esModule ? obj : { default: obj };
22
22
  }
@@ -243,7 +243,7 @@
243
243
  callback(null, `${importCode}${moduleCode}${exportCode}`);
244
244
  }
245
245
  },
246
- 1513: (__unused_webpack_module, exports, __nccwpck_require__) => {
246
+ 6643: (__unused_webpack_module, exports, __nccwpck_require__) => {
247
247
  "use strict";
248
248
  Object.defineProperty(exports, "__esModule", { value: true });
249
249
  Object.defineProperty(exports, "icssParser", {
@@ -265,22 +265,22 @@
265
265
  },
266
266
  });
267
267
  var _postcssImportParser = _interopRequireDefault(
268
- __nccwpck_require__(5490),
268
+ __nccwpck_require__(9960),
269
269
  );
270
270
  var _postcssIcssParser = _interopRequireDefault(
271
- __nccwpck_require__(4475),
271
+ __nccwpck_require__(8973),
272
272
  );
273
- var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(3470));
273
+ var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(8063));
274
274
  function _interopRequireDefault(obj) {
275
275
  return obj && obj.__esModule ? obj : { default: obj };
276
276
  }
277
277
  },
278
- 4475: (__unused_webpack_module, exports, __nccwpck_require__) => {
278
+ 8973: (__unused_webpack_module, exports, __nccwpck_require__) => {
279
279
  "use strict";
280
280
  Object.defineProperty(exports, "__esModule", { value: true });
281
281
  exports["default"] = void 0;
282
282
  var _icssUtils = __nccwpck_require__(229);
283
- var _utils = __nccwpck_require__(1947);
283
+ var _utils = __nccwpck_require__(6549);
284
284
  const plugin = (options = {}) => ({
285
285
  postcssPlugin: "postcss-icss-parser",
286
286
  async OnceExit(root) {
@@ -379,14 +379,14 @@
379
379
  plugin.postcss = true;
380
380
  var _default = (exports["default"] = plugin);
381
381
  },
382
- 5490: (__unused_webpack_module, exports, __nccwpck_require__) => {
382
+ 9960: (__unused_webpack_module, exports, __nccwpck_require__) => {
383
383
  "use strict";
384
384
  Object.defineProperty(exports, "__esModule", { value: true });
385
385
  exports["default"] = void 0;
386
386
  var _postcssValueParser = _interopRequireDefault(
387
387
  __nccwpck_require__(5245),
388
388
  );
389
- var _utils = __nccwpck_require__(1947);
389
+ var _utils = __nccwpck_require__(6549);
390
390
  function _interopRequireDefault(obj) {
391
391
  return obj && obj.__esModule ? obj : { default: obj };
392
392
  }
@@ -691,14 +691,14 @@
691
691
  plugin.postcss = true;
692
692
  var _default = (exports["default"] = plugin);
693
693
  },
694
- 3470: (__unused_webpack_module, exports, __nccwpck_require__) => {
694
+ 8063: (__unused_webpack_module, exports, __nccwpck_require__) => {
695
695
  "use strict";
696
696
  Object.defineProperty(exports, "__esModule", { value: true });
697
697
  exports["default"] = void 0;
698
698
  var _postcssValueParser = _interopRequireDefault(
699
699
  __nccwpck_require__(5245),
700
700
  );
701
- var _utils = __nccwpck_require__(1947);
701
+ var _utils = __nccwpck_require__(6549);
702
702
  function _interopRequireDefault(obj) {
703
703
  return obj && obj.__esModule ? obj : { default: obj };
704
704
  }
@@ -1041,7 +1041,7 @@
1041
1041
  plugin.postcss = true;
1042
1042
  var _default = (exports["default"] = plugin);
1043
1043
  },
1044
- 1947: (__unused_webpack_module, exports, __nccwpck_require__) => {
1044
+ 6549: (__unused_webpack_module, exports, __nccwpck_require__) => {
1045
1045
  "use strict";
1046
1046
  Object.defineProperty(exports, "__esModule", { value: true });
1047
1047
  exports.WEBPACK_IGNORE_COMMENT_REGEXP = void 0;
@@ -8086,7 +8086,7 @@
8086
8086
  "use strict";
8087
8087
  module.exports = require("util");
8088
8088
  },
8089
- 5824: (module) => {
8089
+ 2926: (module) => {
8090
8090
  "use strict";
8091
8091
  module.exports = JSON.parse(
8092
8092
  '{"title":"CSS Loader options","additionalProperties":false,"properties":{"url":{"description":"Allows to enables/disables `url()`/`image-set()` functions handling.","link":"https://github.com/webpack-contrib/css-loader#url","anyOf":[{"type":"boolean"},{"type":"object","properties":{"filter":{"instanceof":"Function"}},"additionalProperties":false}]},"import":{"description":"Allows to enables/disables `@import` at-rules handling.","link":"https://github.com/webpack-contrib/css-loader#import","anyOf":[{"type":"boolean"},{"type":"object","properties":{"filter":{"instanceof":"Function"}},"additionalProperties":false}]},"modules":{"description":"Allows to enable/disable CSS Modules or ICSS and setup configuration.","link":"https://github.com/webpack-contrib/css-loader#modules","anyOf":[{"type":"boolean"},{"enum":["local","global","pure","icss"]},{"type":"object","additionalProperties":false,"properties":{"auto":{"description":"Allows auto enable CSS modules based on filename.","link":"https://github.com/webpack-contrib/css-loader#auto","anyOf":[{"instanceof":"RegExp"},{"instanceof":"Function"},{"type":"boolean"}]},"mode":{"description":"Setup `mode` option.","link":"https://github.com/webpack-contrib/css-loader#mode","anyOf":[{"enum":["local","global","pure","icss"]},{"instanceof":"Function"}]},"localIdentName":{"description":"Allows to configure the generated local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentname","type":"string","minLength":1},"localIdentContext":{"description":"Allows to redefine basic loader context for local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentcontext","type":"string","minLength":1},"localIdentHashSalt":{"description":"Allows to add custom hash to generate more unique classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashsalt","type":"string","minLength":1},"localIdentHashFunction":{"description":"Allows to specify hash function to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashfunction","type":"string","minLength":1},"localIdentHashDigest":{"description":"Allows to specify hash digest to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashdigest","type":"string","minLength":1},"localIdentHashDigestLength":{"description":"Allows to specify hash digest length to generate classes.","link":"https://github.com/webpack-contrib/css-loader#localidenthashdigestlength","type":"number"},"hashStrategy":{"description":"Allows to specify should localName be used when computing the hash.","link":"https://github.com/webpack-contrib/css-loader#hashstrategy","enum":["resource-path-and-local-name","minimal-subset"]},"localIdentRegExp":{"description":"Allows to specify custom RegExp for local ident name.","link":"https://github.com/webpack-contrib/css-loader#localidentregexp","anyOf":[{"type":"string","minLength":1},{"instanceof":"RegExp"}]},"getLocalIdent":{"description":"Allows to specify a function to generate the classname.","link":"https://github.com/webpack-contrib/css-loader#getlocalident","instanceof":"Function"},"namedExport":{"description":"Enables/disables ES modules named export for locals.","link":"https://github.com/webpack-contrib/css-loader#namedexport","type":"boolean"},"exportGlobals":{"description":"Allows to export names from global class or id, so you can use that as local name.","link":"https://github.com/webpack-contrib/css-loader#exportglobals","type":"boolean"},"exportLocalsConvention":{"description":"Style of exported classnames.","link":"https://github.com/webpack-contrib/css-loader#localsconvention","anyOf":[{"enum":["asIs","as-is","camelCase","camel-case","camelCaseOnly","camel-case-only","dashes","dashesOnly","dashes-only"]},{"instanceof":"Function"}]},"exportOnlyLocals":{"description":"Export only locals.","link":"https://github.com/webpack-contrib/css-loader#exportonlylocals","type":"boolean"},"getJSON":{"description":"Allows outputting of CSS modules mapping through a callback.","link":"https://github.com/webpack-contrib/css-loader#getJSON","instanceof":"Function"}}}]},"sourceMap":{"description":"Allows to enable/disable source maps.","link":"https://github.com/webpack-contrib/css-loader#sourcemap","type":"boolean"},"importLoaders":{"description":"Allows enables/disables or setups number of loaders applied before CSS loader for `@import`/CSS Modules and ICSS imports.","link":"https://github.com/webpack-contrib/css-loader#importloaders","anyOf":[{"type":"boolean"},{"type":"string"},{"type":"integer"}]},"esModule":{"description":"Use the ES modules syntax.","link":"https://github.com/webpack-contrib/css-loader#esmodule","type":"boolean"},"exportType":{"description":"Allows exporting styles as array with modules, string or constructable stylesheet (i.e. `CSSStyleSheet`).","link":"https://github.com/webpack-contrib/css-loader#exporttype","enum":["array","string","css-style-sheet"]}},"type":"object"}',
@@ -8121,6 +8121,6 @@
8121
8121
  }
8122
8122
  if (typeof __nccwpck_require__ !== "undefined")
8123
8123
  __nccwpck_require__.ab = __dirname + "/";
8124
- var __webpack_exports__ = __nccwpck_require__(2340);
8124
+ var __webpack_exports__ = __nccwpck_require__(2278);
8125
8125
  module.exports = __webpack_exports__;
8126
8126
  })();
@@ -1,16 +1,16 @@
1
1
  (() => {
2
2
  "use strict";
3
3
  var __webpack_modules__ = {
4
- 368: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
- module.exports = __nccwpck_require__(174)["default"];
4
+ 514: (module, __unused_webpack_exports, __nccwpck_require__) => {
5
+ module.exports = __nccwpck_require__(48)["default"];
6
6
  },
7
- 174: (__unused_webpack_module, exports, __nccwpck_require__) => {
7
+ 48: (__unused_webpack_module, exports, __nccwpck_require__) => {
8
8
  var __webpack_unused_export__;
9
9
  __webpack_unused_export__ = { value: true };
10
10
  exports["default"] = void 0;
11
11
  var _path = _interopRequireDefault(__nccwpck_require__(928));
12
- var _options = _interopRequireDefault(__nccwpck_require__(996));
13
- var _utils = __nccwpck_require__(159);
12
+ var _options = _interopRequireDefault(__nccwpck_require__(370));
13
+ var _utils = __nccwpck_require__(33);
14
14
  function _interopRequireDefault(e) {
15
15
  return e && e.__esModule ? e : { default: e };
16
16
  }
@@ -112,7 +112,7 @@
112
112
  }
113
113
  var _default = (exports["default"] = lessLoader);
114
114
  },
115
- 159: (__unused_webpack_module, exports, __nccwpck_require__) => {
115
+ 33: (__unused_webpack_module, exports, __nccwpck_require__) => {
116
116
  Object.defineProperty(exports, "__esModule", { value: true });
117
117
  exports.errorFactory = errorFactory;
118
118
  exports.getLessImplementation = getLessImplementation;
@@ -312,7 +312,7 @@
312
312
  928: (module) => {
313
313
  module.exports = require("path");
314
314
  },
315
- 996: (module) => {
315
+ 370: (module) => {
316
316
  module.exports = JSON.parse(
317
317
  '{"title":"Less Loader options","type":"object","properties":{"lessOptions":{"description":"Options to pass through to `Less`.","link":"https://github.com/webpack-contrib/less-loader#lessoptions","anyOf":[{"type":"object","additionalProperties":true},{"instanceof":"Function"}]},"additionalData":{"description":"Prepends/Appends `Less` code to the actual entry file.","link":"https://github.com/webpack-contrib/less-loader#additionalData","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/less-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack-contrib/less-loader#webpackimporter","anyOf":[{"type":"boolean"},{"type":"string","enum":["only"]}]},"implementation":{"description":"The implementation of the `Less` to be used.","link":"https://github.com/webpack-contrib/less-loader#implementation","anyOf":[{"type":"string"},{"type":"object"}]},"lessLogAsWarnOrErr":{"description":"Less warnings and errors will be webpack warnings or errors.","link":"https://github.com/webpack-contrib/less-loader#lesslogaswarnorerr","type":"boolean"}},"additionalProperties":false}',
318
318
  );
@@ -340,6 +340,6 @@
340
340
  }
341
341
  if (typeof __nccwpck_require__ !== "undefined")
342
342
  __nccwpck_require__.ab = __dirname + "/";
343
- var __webpack_exports__ = __nccwpck_require__(368);
343
+ var __webpack_exports__ = __nccwpck_require__(514);
344
344
  module.exports = __webpack_exports__;
345
345
  })();
@@ -5319,19 +5319,19 @@
5319
5319
  module.exports = createColors();
5320
5320
  module.exports.createColors = createColors;
5321
5321
  },
5322
- 4103: (module, __unused_webpack_exports, __nccwpck_require__) => {
5322
+ 8549: (module, __unused_webpack_exports, __nccwpck_require__) => {
5323
5323
  "use strict";
5324
- module.exports = __nccwpck_require__(393)["default"];
5324
+ module.exports = __nccwpck_require__(7215)["default"];
5325
5325
  },
5326
- 393: (__unused_webpack_module, exports, __nccwpck_require__) => {
5326
+ 7215: (__unused_webpack_module, exports, __nccwpck_require__) => {
5327
5327
  "use strict";
5328
5328
  var __webpack_unused_export__;
5329
5329
  __webpack_unused_export__ = { value: true };
5330
5330
  exports["default"] = loader;
5331
5331
  var _nodePath = _interopRequireDefault(__nccwpck_require__(6760));
5332
5332
  var _package = _interopRequireDefault(__nccwpck_require__(444));
5333
- var _options = _interopRequireDefault(__nccwpck_require__(2657));
5334
- var _utils = __nccwpck_require__(6660);
5333
+ var _options = _interopRequireDefault(__nccwpck_require__(8379));
5334
+ var _utils = __nccwpck_require__(8922);
5335
5335
  function _interopRequireDefault(e) {
5336
5336
  return e && e.__esModule ? e : { default: e };
5337
5337
  }
@@ -5509,7 +5509,7 @@
5509
5509
  callback(null, result.css, map, { ast });
5510
5510
  }
5511
5511
  },
5512
- 6660: (module, exports, __nccwpck_require__) => {
5512
+ 8922: (module, exports, __nccwpck_require__) => {
5513
5513
  "use strict";
5514
5514
  module = __nccwpck_require__.nmd(module);
5515
5515
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6620,7 +6620,7 @@
6620
6620
  return keywords.has(word);
6621
6621
  }
6622
6622
  },
6623
- 2657: (module) => {
6623
+ 8379: (module) => {
6624
6624
  "use strict";
6625
6625
  module.exports = JSON.parse(
6626
6626
  '{"title":"PostCSS Loader options","type":"object","properties":{"postcssOptions":{"description":"Options to pass through to `Postcss`.","link":"https://github.com/webpack-contrib/postcss-loader#postcssOptions","anyOf":[{"type":"object","additionalProperties":true,"properties":{"config":{"description":"Allows to specify PostCSS config path.","link":"https://github.com/webpack-contrib/postcss-loader#config","anyOf":[{"description":"Allows to specify the path to the configuration file","type":"string"},{"description":"Enables/Disables autoloading config","type":"boolean"}]}}},{"instanceof":"Function"}]},"execute":{"description":"Enables/Disables PostCSS parser support in \'CSS-in-JS\'.","link":"https://github.com/webpack-contrib/postcss-loader#execute","type":"boolean"},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/postcss-loader#sourcemap","type":"boolean"},"implementation":{"description":"The implementation of postcss to use, instead of the locally installed version","link":"https://github.com/webpack-contrib/postcss-loader#implementation","anyOf":[{"type":"string"},{"instanceof":"Function"}]}},"additionalProperties":false}',
@@ -6730,6 +6730,6 @@
6730
6730
  })();
6731
6731
  if (typeof __nccwpck_require__ !== "undefined")
6732
6732
  __nccwpck_require__.ab = __dirname + "/";
6733
- var __webpack_exports__ = __nccwpck_require__(4103);
6733
+ var __webpack_exports__ = __nccwpck_require__(8549);
6734
6734
  module.exports = __webpack_exports__;
6735
6735
  })();
@@ -4795,19 +4795,19 @@
4795
4795
  }
4796
4796
  });
4797
4797
  },
4798
- 944: (module, __unused_webpack_exports, __nccwpck_require__) => {
4798
+ 986: (module, __unused_webpack_exports, __nccwpck_require__) => {
4799
4799
  "use strict";
4800
- const loader = __nccwpck_require__(614);
4800
+ const loader = __nccwpck_require__(784);
4801
4801
  module.exports = loader.default;
4802
4802
  },
4803
- 614: (__unused_webpack_module, exports, __nccwpck_require__) => {
4803
+ 784: (__unused_webpack_module, exports, __nccwpck_require__) => {
4804
4804
  "use strict";
4805
4805
  Object.defineProperty(exports, "__esModule", { value: true });
4806
4806
  exports["default"] = void 0;
4807
4807
  var _nodePath = _interopRequireDefault(__nccwpck_require__(760));
4808
4808
  var _nodeUrl = _interopRequireDefault(__nccwpck_require__(136));
4809
- var _options = _interopRequireDefault(__nccwpck_require__(64));
4810
- var _utils = __nccwpck_require__(215);
4809
+ var _options = _interopRequireDefault(__nccwpck_require__(198));
4810
+ var _utils = __nccwpck_require__(745);
4811
4811
  function _interopRequireDefault(e) {
4812
4812
  return e && e.__esModule ? e : { default: e };
4813
4813
  }
@@ -4914,7 +4914,7 @@
4914
4914
  }
4915
4915
  var _default = (exports["default"] = loader);
4916
4916
  },
4917
- 215: (__unused_webpack_module, exports, __nccwpck_require__) => {
4917
+ 745: (__unused_webpack_module, exports, __nccwpck_require__) => {
4918
4918
  "use strict";
4919
4919
  Object.defineProperty(exports, "__esModule", { value: true });
4920
4920
  exports.errorFactory = errorFactory;
@@ -5568,7 +5568,7 @@
5568
5568
  "use strict";
5569
5569
  module.exports = require("sass");
5570
5570
  },
5571
- 64: (module) => {
5571
+ 198: (module) => {
5572
5572
  "use strict";
5573
5573
  module.exports = JSON.parse(
5574
5574
  '{"title":"Sass Loader options","type":"object","properties":{"implementation":{"description":"The implementation of the sass to be used.","link":"https://github.com/webpack/sass-loader#implementation","anyOf":[{"type":"string"},{"type":"object"}]},"api":{"description":"Switch between old and modern API for `sass` (`Dart Sass`) and `Sass Embedded` implementations.","link":"https://github.com/webpack/sass-loader#sassoptions","enum":["legacy","modern","modern-compiler"]},"sassOptions":{"description":"Options for `node-sass` or `sass` (`Dart Sass`) implementation.","link":"https://github.com/webpack/sass-loader#sassoptions","anyOf":[{"type":"object","additionalProperties":true},{"instanceof":"Function"}]},"additionalData":{"description":"Prepends/Appends `Sass`/`SCSS` code before the actual entry file.","link":"https://github.com/webpack/sass-loader#additionaldata","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack/sass-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack/sass-loader#webpackimporter","type":"boolean"},"warnRuleAsWarning":{"description":"Treats the \'@warn\' rule as a webpack warning.","link":"https://github.com/webpack/sass-loader#warnruleaswarning","type":"boolean"}},"additionalProperties":false}',
@@ -5598,6 +5598,6 @@
5598
5598
  }
5599
5599
  if (typeof __nccwpck_require__ !== "undefined")
5600
5600
  __nccwpck_require__.ab = __dirname + "/";
5601
- var __webpack_exports__ = __nccwpck_require__(944);
5601
+ var __webpack_exports__ = __nccwpck_require__(986);
5602
5602
  module.exports = __webpack_exports__;
5603
5603
  })();
package/dist/index.cjs CHANGED
@@ -110,12 +110,12 @@ for(var __webpack_i__ in (()=>{
110
110
  let core_namespaceObject = require("@rspack/core"), isCI = !!process.env.CI, isTTY = !!process.stdout?.isTTY, noColor = !!process.env.NO_COLOR, forceColor = !!process.env.FORCE_COLOR, disableColor = !1;
111
111
  disableColor = !!noColor || !forceColor && (isCI || !isTTY);
112
112
  let ANSI_SGR_RE = /\x1b\[[0-9;]*m/g, ANSI_OPEN_RE = /\x1b\[([0-9;]+)m/g, COLOR_HEX = {
113
- brand: '#b39aff',
113
+ brand: '#B39AFF',
114
114
  red: '#F38BA8',
115
115
  green: '#A6E3A1',
116
116
  yellow: '#F9E2AF',
117
117
  blue: '#89B4FA',
118
- magenta: '#CBA6F7',
118
+ magenta: '#EE90DB',
119
119
  cyan: '#89DCEB',
120
120
  gray: '#6C7086'
121
121
  }, COLOR_HEX_TO_OPEN = Object.fromEntries(Object.values(COLOR_HEX).map((hex)=>[
@@ -781,7 +781,7 @@ for(var __webpack_i__ in (()=>{
781
781
  apply(compiler) {
782
782
  let meta = JSON.stringify({
783
783
  name: jsMinify_PLUGIN_NAME,
784
- version: "3.4.2",
784
+ version: "3.5.1",
785
785
  options: this.minifyOptions
786
786
  });
787
787
  compiler.hooks.compilation.tap(jsMinify_PLUGIN_NAME, (compilation)=>{
@@ -794,7 +794,7 @@ for(var __webpack_i__ in (()=>{
794
794
  });
795
795
  }
796
796
  async transformAssets(compilation) {
797
- let { options: { devtool } } = compilation.compiler, sourceMap = 'string' == typeof devtool && devtool.includes('source-map'), assets = compilation.getAssets().filter((asset)=>!asset.info.minimized && isJsFile.test(asset.name)), minifyFn = this.customMinify ?? (await import("oxc-minify")).minify;
797
+ let { options: { devtool } } = compilation.compiler, sourceMap = 'string' == typeof devtool && devtool.includes('source-map'), assets = compilation.getAssets().filter((asset)=>!asset.info.minimized && isJsFile.test(asset.name)), minifyFn = this.customMinify ?? (await import("oxc-minify")).minifySync;
798
798
  assets.forEach((asset)=>{
799
799
  let { source, map } = asset.source.sourceAndMap(), { name } = asset, output = minifyFn(name, Buffer.isBuffer(source) ? source.toString() : source, {
800
800
  sourcemap: sourceMap,
@@ -813,51 +813,7 @@ for(var __webpack_i__ in (()=>{
813
813
  constructor(options = {}){
814
814
  jsMinify_define_property(this, "minifyOptions", void 0), jsMinify_define_property(this, "customMinify", void 0);
815
815
  const { implementation, ...minifyOptions } = options;
816
- this.customMinify = implementation?.minify, this.minifyOptions = minifyOptions;
817
- }
818
- }
819
- let external_node_child_process_namespaceObject = require("node:child_process");
820
- class OxlintPlugin {
821
- runOxlint(args) {
822
- let child = (0, external_node_child_process_namespaceObject.spawn)('npx', [
823
- '--yes',
824
- ...args
825
- ], {
826
- cwd: process.cwd(),
827
- stdio: 'pipe',
828
- shell: !0,
829
- env: {
830
- ...process.env,
831
- FORCE_COLOR: '1'
832
- }
833
- }), output = '';
834
- child.stdout?.on('data', (data)=>{
835
- output += data.toString();
836
- }), child.on('exit', (code)=>{
837
- let hasErrors = !output.includes('Found 0 warnings and 0 errors'), hasNoFiles = output.includes('on 0 files');
838
- (hasErrors || 0 !== code) && !hasNoFiles && process.stdout.write(output);
839
- }), child.stderr?.on('data', (data)=>{
840
- process.stderr.write(data);
841
- });
842
- }
843
- apply(compiler) {
844
- compiler.hooks.watchRun.tap('OxlintPlugin', ()=>{
845
- let configPath = external_node_path_default().resolve(__dirname, '.oxlintrc.json'), changedFiles = compiler.modifiedFiles ? Array.from(compiler.modifiedFiles) : [];
846
- if (1 === changedFiles.length) {
847
- let currentFile = changedFiles[0];
848
- if (external_node_fs_default().existsSync(currentFile) && external_node_fs_default().statSync(currentFile).isFile()) {
849
- let args = [
850
- 'oxlint',
851
- '-c',
852
- configPath,
853
- currentFile,
854
- '--fix',
855
- '--fix-suggestions'
856
- ];
857
- this.runOxlint(args);
858
- }
859
- }
860
- });
816
+ this.customMinify = implementation?.minifySync, this.minifyOptions = minifyOptions;
861
817
  }
862
818
  }
863
819
  function loadingAnimation_define_property(obj, key, value) {
@@ -1236,8 +1192,7 @@ for(var __webpack_i__ in (()=>{
1236
1192
  unpackConfig.build?.copy && new core_namespaceObject.rspack.CopyRspackPlugin({
1237
1193
  patterns: unpackConfig.build.copy
1238
1194
  }),
1239
- new ProgressPlugin(),
1240
- unpackConfig.lint && new OxlintPlugin()
1195
+ new ProgressPlugin()
1241
1196
  ].filter(Boolean),
1242
1197
  externals: unpackConfig.externals,
1243
1198
  resolve: {
@@ -1273,7 +1228,8 @@ for(var __webpack_i__ in (()=>{
1273
1228
  },
1274
1229
  experiments: {
1275
1230
  css: !1,
1276
- asyncWebAssembly: !0
1231
+ asyncWebAssembly: !0,
1232
+ nativeWatcher: !0
1277
1233
  },
1278
1234
  optimization: {
1279
1235
  moduleIds: isDev() ? 'named' : 'deterministic',
@@ -1646,7 +1602,7 @@ for(var __webpack_i__ in (()=>{
1646
1602
  };
1647
1603
  isWatch() ? compiler.watch({}, handler) : compiler.run(handler);
1648
1604
  }
1649
- let dev_server_namespaceObject = require("@rspack/dev-server");
1605
+ let dev_server_namespaceObject = require("@rspack/dev-server"), external_node_child_process_namespaceObject = require("node:child_process");
1650
1606
  async function openBrowser(url) {
1651
1607
  if ('darwin' === process.platform) try {
1652
1608
  let ps = await execAsync('ps cax'), openedBrowser = [
@@ -1966,7 +1922,7 @@ for(var __webpack_i__ in (()=>{
1966
1922
  req.headers.accept?.includes('html') && (req.url = '/index.html'), next();
1967
1923
  }), middlewares.unshift(core_namespaceObject.experiments.lazyCompilationMiddleware(compiler)), middlewares);
1968
1924
  let server = new dev_server_namespaceObject.RspackDevServer(devServerOptions, compiler);
1969
- await server.start(), logger_logger.greet(` ${colors.brand(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.4.2`)} ${colors.dim('ready in')} ${colors.bold(Math.ceil(performance.now() - global.__unpack_start_time))} ${colors.dim('ms')}\n`), printAddressUrls(port, unpackConfig.server?.host), addRestartCleaner(()=>server.stop(), ()=>new Promise((resolve)=>compiler.close(()=>resolve())));
1925
+ await server.start(), logger_logger.greet(` ${colors.brand(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.5.1`)} ${colors.dim('ready in')} ${colors.bold(Math.ceil(performance.now() - global.__unpack_start_time))} ${colors.dim('ms')}\n`), printAddressUrls(port, unpackConfig.server?.host), addRestartCleaner(()=>server.stop(), ()=>new Promise((resolve)=>compiler.close(()=>resolve())));
1970
1926
  let open = unpackConfig.server?.open, url = isString(open) ? open : `http://localhost:${port}`;
1971
1927
  open && openBrowser(url), setupCliShortcuts({
1972
1928
  openPage: async ()=>{
@@ -2039,7 +1995,7 @@ for(var __webpack_i__ in (()=>{
2039
1995
  ...mergeConfig(defaultConfig, config),
2040
1996
  _context: {
2041
1997
  callerName,
2042
- version: "3.4.2"
1998
+ version: "3.5.1"
2043
1999
  }
2044
2000
  };
2045
2001
  };
@@ -2047,7 +2003,7 @@ for(var __webpack_i__ in (()=>{
2047
2003
  build: async ({ watch } = {})=>{
2048
2004
  setNodeEnv(watch ? 'development' : 'production');
2049
2005
  let config = resolveConfig();
2050
- console.log(colors.brand(`${callerName} v3.4.2`), colors.cyan(`building for ${getNodeEnv()}...`)), await unpackBuild(config);
2006
+ console.log(colors.brand(`${callerName} v3.5.1`), colors.cyan(`building for ${getNodeEnv()}...`)), await unpackBuild(config);
2051
2007
  },
2052
2008
  dev: async ()=>{
2053
2009
  global.__unpack_start_time = performance.now(), setNodeEnv('development'), setDevServer(!0);
package/dist/index.js CHANGED
@@ -13,10 +13,10 @@ import { expand } from "dotenv-expand";
13
13
  import node_assert from "node:assert";
14
14
  import { glob, globSync } from "tinyglobby";
15
15
  import typed_css_modules from "typed-css-modules";
16
- import { exec, spawn } from "node:child_process";
17
16
  import { promisify } from "node:util";
18
17
  import node_zlib from "node:zlib";
19
18
  import { RspackDevServer } from "@rspack/dev-server";
19
+ import { exec, spawn } from "node:child_process";
20
20
  import chokidar from "chokidar";
21
21
  var LogColor, __webpack_modules__ = {
22
22
  "compiled/launch-editor": function(module) {
@@ -37,12 +37,12 @@ function __webpack_require__(moduleId) {
37
37
  let isCI = !!process.env.CI, isTTY = !!process.stdout?.isTTY, noColor = !!process.env.NO_COLOR, forceColor = !!process.env.FORCE_COLOR, disableColor = !1;
38
38
  disableColor = !!noColor || !forceColor && (isCI || !isTTY);
39
39
  let ANSI_SGR_RE = /\x1b\[[0-9;]*m/g, ANSI_OPEN_RE = /\x1b\[([0-9;]+)m/g, COLOR_HEX = {
40
- brand: '#b39aff',
40
+ brand: '#B39AFF',
41
41
  red: '#F38BA8',
42
42
  green: '#A6E3A1',
43
43
  yellow: '#F9E2AF',
44
44
  blue: '#89B4FA',
45
- magenta: '#CBA6F7',
45
+ magenta: '#EE90DB',
46
46
  cyan: '#89DCEB',
47
47
  gray: '#6C7086'
48
48
  }, COLOR_HEX_TO_OPEN = Object.fromEntries(Object.values(COLOR_HEX).map((hex)=>[
@@ -695,7 +695,7 @@ class JsMinifyPlugin {
695
695
  apply(compiler) {
696
696
  let meta = JSON.stringify({
697
697
  name: jsMinify_PLUGIN_NAME,
698
- version: "3.4.2",
698
+ version: "3.5.1",
699
699
  options: this.minifyOptions
700
700
  });
701
701
  compiler.hooks.compilation.tap(jsMinify_PLUGIN_NAME, (compilation)=>{
@@ -708,7 +708,7 @@ class JsMinifyPlugin {
708
708
  });
709
709
  }
710
710
  async transformAssets(compilation) {
711
- let { options: { devtool } } = compilation.compiler, sourceMap = 'string' == typeof devtool && devtool.includes('source-map'), assets = compilation.getAssets().filter((asset)=>!asset.info.minimized && isJsFile.test(asset.name)), minifyFn = this.customMinify ?? (await import("oxc-minify")).minify;
711
+ let { options: { devtool } } = compilation.compiler, sourceMap = 'string' == typeof devtool && devtool.includes('source-map'), assets = compilation.getAssets().filter((asset)=>!asset.info.minimized && isJsFile.test(asset.name)), minifyFn = this.customMinify ?? (await import("oxc-minify")).minifySync;
712
712
  assets.forEach((asset)=>{
713
713
  let { source, map } = asset.source.sourceAndMap(), { name } = asset, output = minifyFn(name, Buffer.isBuffer(source) ? source.toString() : source, {
714
714
  sourcemap: sourceMap,
@@ -727,51 +727,7 @@ class JsMinifyPlugin {
727
727
  constructor(options = {}){
728
728
  jsMinify_define_property(this, "minifyOptions", void 0), jsMinify_define_property(this, "customMinify", void 0);
729
729
  let { implementation, ...minifyOptions } = options;
730
- this.customMinify = implementation?.minify, this.minifyOptions = minifyOptions;
731
- }
732
- }
733
- var oxlint_dirname = __webpack_dirname__(__webpack_fileURLToPath__(import.meta.url));
734
- class OxlintPlugin {
735
- runOxlint(args) {
736
- let child = spawn('npx', [
737
- '--yes',
738
- ...args
739
- ], {
740
- cwd: process.cwd(),
741
- stdio: 'pipe',
742
- shell: !0,
743
- env: {
744
- ...process.env,
745
- FORCE_COLOR: '1'
746
- }
747
- }), output = '';
748
- child.stdout?.on('data', (data)=>{
749
- output += data.toString();
750
- }), child.on('exit', (code)=>{
751
- let hasErrors = !output.includes('Found 0 warnings and 0 errors'), hasNoFiles = output.includes('on 0 files');
752
- (hasErrors || 0 !== code) && !hasNoFiles && process.stdout.write(output);
753
- }), child.stderr?.on('data', (data)=>{
754
- process.stderr.write(data);
755
- });
756
- }
757
- apply(compiler) {
758
- compiler.hooks.watchRun.tap('OxlintPlugin', ()=>{
759
- let configPath = node_path.resolve(oxlint_dirname, '.oxlintrc.json'), changedFiles = compiler.modifiedFiles ? Array.from(compiler.modifiedFiles) : [];
760
- if (1 === changedFiles.length) {
761
- let currentFile = changedFiles[0];
762
- if (node_fs.existsSync(currentFile) && node_fs.statSync(currentFile).isFile()) {
763
- let args = [
764
- 'oxlint',
765
- '-c',
766
- configPath,
767
- currentFile,
768
- '--fix',
769
- '--fix-suggestions'
770
- ];
771
- this.runOxlint(args);
772
- }
773
- }
774
- });
730
+ this.customMinify = implementation?.minifySync, this.minifyOptions = minifyOptions;
775
731
  }
776
732
  }
777
733
  function loadingAnimation_define_property(obj, key, value) {
@@ -1146,8 +1102,7 @@ async function getBundlerConfig(originalUnpackConfig) {
1146
1102
  unpackConfig.build?.copy && new rspack.CopyRspackPlugin({
1147
1103
  patterns: unpackConfig.build.copy
1148
1104
  }),
1149
- new ProgressPlugin(),
1150
- unpackConfig.lint && new OxlintPlugin()
1105
+ new ProgressPlugin()
1151
1106
  ].filter(Boolean),
1152
1107
  externals: unpackConfig.externals,
1153
1108
  resolve: {
@@ -1183,7 +1138,8 @@ async function getBundlerConfig(originalUnpackConfig) {
1183
1138
  },
1184
1139
  experiments: {
1185
1140
  css: !1,
1186
- asyncWebAssembly: !0
1141
+ asyncWebAssembly: !0,
1142
+ nativeWatcher: !0
1187
1143
  },
1188
1144
  optimization: {
1189
1145
  moduleIds: isDev() ? 'named' : 'deterministic',
@@ -1874,7 +1830,7 @@ async function unpackDev(originalUnpackConfig) {
1874
1830
  req.headers.accept?.includes('html') && (req.url = '/index.html'), next();
1875
1831
  }), middlewares.unshift(experiments.lazyCompilationMiddleware(compiler)), middlewares);
1876
1832
  let server = new RspackDevServer(devServerOptions, compiler);
1877
- await server.start(), logger_logger.greet(` ${colors.brand(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.4.2`)} ${colors.dim('ready in')} ${colors.bold(Math.ceil(performance.now() - global.__unpack_start_time))} ${colors.dim('ms')}\n`), printAddressUrls(port, unpackConfig.server?.host), addRestartCleaner(()=>server.stop(), ()=>new Promise((resolve)=>compiler.close(()=>resolve())));
1833
+ await server.start(), logger_logger.greet(` ${colors.brand(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.5.1`)} ${colors.dim('ready in')} ${colors.bold(Math.ceil(performance.now() - global.__unpack_start_time))} ${colors.dim('ms')}\n`), printAddressUrls(port, unpackConfig.server?.host), addRestartCleaner(()=>server.stop(), ()=>new Promise((resolve)=>compiler.close(()=>resolve())));
1878
1834
  let open = unpackConfig.server?.open, url = isString(open) ? open : `http://localhost:${port}`;
1879
1835
  open && openBrowser(url), setupCliShortcuts({
1880
1836
  openPage: async ()=>{
@@ -1947,7 +1903,7 @@ function createUnpack({ cwd = process.cwd(), config, callerName = 'unpack' }) {
1947
1903
  ...mergeConfig(defaultConfig, config),
1948
1904
  _context: {
1949
1905
  callerName,
1950
- version: "3.4.2"
1906
+ version: "3.5.1"
1951
1907
  }
1952
1908
  };
1953
1909
  };
@@ -1955,7 +1911,7 @@ function createUnpack({ cwd = process.cwd(), config, callerName = 'unpack' }) {
1955
1911
  build: async ({ watch } = {})=>{
1956
1912
  setNodeEnv(watch ? 'development' : 'production');
1957
1913
  let config = resolveConfig();
1958
- console.log(colors.brand(`${callerName} v3.4.2`), colors.cyan(`building for ${getNodeEnv()}...`)), await unpackBuild(config);
1914
+ console.log(colors.brand(`${callerName} v3.5.1`), colors.cyan(`building for ${getNodeEnv()}...`)), await unpackBuild(config);
1959
1915
  },
1960
1916
  dev: async ()=>{
1961
1917
  global.__unpack_start_time = performance.now(), setNodeEnv('development'), setDevServer(!0);
@@ -24,12 +24,12 @@ function __webpack_require__(moduleId) {
24
24
  let CSS_MODULES_REGEX = /\.module\.\w+$/i, NODE_MODULES_REGEX = /[\\/]node_modules[\\/]/, isCI = !!process.env.CI, isTTY = !!process.stdout?.isTTY, noColor = !!process.env.NO_COLOR, forceColor = !!process.env.FORCE_COLOR, disableColor = !1;
25
25
  disableColor = !!noColor || !forceColor && (isCI || !isTTY);
26
26
  let COLOR_HEX = {
27
- brand: '#b39aff',
27
+ brand: '#B39AFF',
28
28
  red: '#F38BA8',
29
29
  green: '#A6E3A1',
30
30
  yellow: '#F9E2AF',
31
31
  blue: '#89B4FA',
32
- magenta: '#CBA6F7',
32
+ magenta: '#EE90DB',
33
33
  cyan: '#89DCEB',
34
34
  gray: '#6C7086'
35
35
  }, COLOR_HEX_TO_OPEN = Object.fromEntries(Object.values(COLOR_HEX).map((hex)=>[
@@ -1 +1 @@
1
- {"version":3,"file":"experimentCss.d.ts","sourceRoot":"","sources":["../../src/bundler-config/experimentCss.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAU,YAAY,EAAE,MAAM,WAAW,CAAA;AAgB3E,wBAAgB,wBAAwB,CAAC,EACvC,MAAM,EACN,YAAY,GACb,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;CAC3B,GAAG,oBAAoB,CAgJvB"}
1
+ {"version":3,"file":"experimentCss.d.ts","sourceRoot":"","sources":["../../src/bundler-config/experimentCss.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,oBAAoB,EAAU,YAAY,EAAE,MAAM,WAAW,CAAA;AAgB3E,wBAAgB,wBAAwB,CAAC,EACvC,MAAM,EACN,YAAY,GACb,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;CAC3B,GAAG,oBAAoB,CA6IvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bundler-config/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAuBnE,wBAAsB,gBAAgB,CACpC,oBAAoB,EAAE,YAAY,GACjC,OAAO,CAAC,oBAAoB,CAAC,CA0M/B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bundler-config/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAsBnE,wBAAsB,gBAAgB,CACpC,oBAAoB,EAAE,YAAY,GACjC,OAAO,CAAC,oBAAoB,CAAC,CA0M/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"jsMinify.d.ts","sourceRoot":"","sources":["../../../src/bundler-config/plugins/jsMinify.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAM/D,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAe;IAC7C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAoC;gBAEtD,OAAO,GAAE,sBAA2B;IAMhD,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ;YAyBjB,eAAe;CAiC9B"}
1
+ {"version":3,"file":"jsMinify.d.ts","sourceRoot":"","sources":["../../../src/bundler-config/plugins/jsMinify.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAM/D,qBAAa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAe;IAC7C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAEf;gBAEH,OAAO,GAAE,sBAA2B;IAMhD,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ;YAyBjB,eAAe;CAiC9B"}
@@ -1,6 +1,6 @@
1
1
  type Input = string | number;
2
2
  type Formatter = (input: Input) => string;
3
- type Colors = {
3
+ export type Colors = {
4
4
  red: Formatter;
5
5
  green: Formatter;
6
6
  yellow: Formatter;
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../src/colors.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG,MAAM,GAAG,MAAM,CAAA;AAC5B,KAAK,SAAS,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,MAAM,CAAA;AACzC,KAAK,MAAM,GAAG;IACZ,GAAG,EAAE,SAAS,CAAA;IACd,KAAK,EAAE,SAAS,CAAA;IAChB,MAAM,EAAE,SAAS,CAAA;IACjB,IAAI,EAAE,SAAS,CAAA;IACf,OAAO,EAAE,SAAS,CAAA;IAClB,IAAI,EAAE,SAAS,CAAA;IACf,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,SAAS,CAAA;IACf,GAAG,EAAE,SAAS,CAAA;CACf,CAAA;AA6ED,eAAO,MAAM,MAAM,EAAE,MAWpB,CAAA;AAuBD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAoB5D"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../src/colors.ts"],"names":[],"mappings":"AAAA,KAAK,KAAK,GAAG,MAAM,GAAG,MAAM,CAAA;AAC5B,KAAK,SAAS,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,MAAM,CAAA;AACzC,MAAM,MAAM,MAAM,GAAG;IACnB,GAAG,EAAE,SAAS,CAAA;IACd,KAAK,EAAE,SAAS,CAAA;IAChB,MAAM,EAAE,SAAS,CAAA;IACjB,IAAI,EAAE,SAAS,CAAA;IACf,OAAO,EAAE,SAAS,CAAA;IAClB,IAAI,EAAE,SAAS,CAAA;IACf,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,EAAE,SAAS,CAAA;IAChB,IAAI,EAAE,SAAS,CAAA;IACf,GAAG,EAAE,SAAS,CAAA;CACf,CAAA;AA6ED,eAAO,MAAM,MAAM,EAAE,MAWpB,CAAA;AAuBD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAoB5D"}
@@ -281,11 +281,6 @@ export type UnpackConfig = {
281
281
  * @default true
282
282
  */
283
283
  typeCheck?: boolean;
284
- /**
285
- * Whether to enable linting.
286
- * @default false
287
- */
288
- lint?: boolean;
289
284
  /**
290
285
  * Prefix for environment variables.
291
286
  */
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"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,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IACL;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAC7B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAA;CACzB,CAAA"}
@@ -6,6 +6,7 @@ export type CliOptions = {
6
6
  analyze?: boolean;
7
7
  root?: string;
8
8
  host?: boolean;
9
+ debug?: boolean;
9
10
  };
10
11
  export type NodeEnv = 'development' | 'production';
11
12
  export type Command = 'dev' | 'build';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACvB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAA;AAED,MAAM,MAAM,OAAO,GAAG,aAAa,GAAG,YAAY,CAAA;AAElD,MAAM,MAAM,OAAO,GAAG,KAAK,GAAG,OAAO,CAAA;AAErC,MAAM,MAAM,eAAe,GACvB,YAAY,GACZ,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,cAAc,CAAA;AAElB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACvB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG,aAAa,GAAG,YAAY,CAAA;AAElD,MAAM,MAAM,OAAO,GAAG,KAAK,GAAG,OAAO,CAAA;AAErC,MAAM,MAAM,eAAe,GACvB,YAAY,GACZ,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,cAAc,CAAA;AAElB,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,OAAO,CAAA;AACrB,cAAc,UAAU,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { MinifyOptions } from 'oxc-minify';
2
2
  type Implementation = {
3
- minify: typeof import('oxc-minify').minify;
3
+ minifySync: typeof import('oxc-minify').minifySync;
4
4
  };
5
5
  export type OxcMinifyPluginOptions = MinifyOptions & {
6
6
  /** Pass a custom oxc-minify implementation */
@@ -1 +1 @@
1
- {"version":3,"file":"oxc.d.ts","sourceRoot":"","sources":["../../src/types/oxc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,KAAK,cAAc,GAAG;IACpB,MAAM,EAAE,cAAc,YAAY,EAAE,MAAM,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG;IACnD,8CAA8C;IAC9C,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC,CAAA"}
1
+ {"version":3,"file":"oxc.d.ts","sourceRoot":"","sources":["../../src/types/oxc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,KAAK,cAAc,GAAG;IACpB,UAAU,EAAE,cAAc,YAAY,EAAE,UAAU,CAAA;CACnD,CAAA;AAED,MAAM,MAAM,sBAAsB,GAAG,aAAa,GAAG;IACnD,8CAA8C;IAC9C,cAAc,CAAC,EAAE,cAAc,CAAA;CAChC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unpackjs/core",
3
- "version": "3.4.2",
3
+ "version": "3.5.1",
4
4
  "description": "An Rspack-based build tool",
5
5
  "type": "module",
6
6
  "exports": {
@@ -40,7 +40,7 @@
40
40
  "launch-editor": "2.12.0"
41
41
  },
42
42
  "dependencies": {
43
- "@rspack/core": "1.6.1",
43
+ "@rspack/core": "1.6.3",
44
44
  "@rspack/dev-server": "1.1.4",
45
45
  "@types/less": "3.0.8",
46
46
  "chokidar": "4.0.3",
@@ -48,7 +48,7 @@
48
48
  "dotenv-expand": "12.0.3",
49
49
  "express": "5.1.0",
50
50
  "jiti": "2.6.1",
51
- "oxc-minify": "0.96.0",
51
+ "oxc-minify": "0.98.0",
52
52
  "portfinder": "1.0.38",
53
53
  "postcss": "8.5.6",
54
54
  "thread-loader": "4.0.4",
@@ -1,29 +0,0 @@
1
- {
2
- "plugins": ["typescript", "unicorn", "react", "oxc", "react-perf", "jsdoc"],
3
- "env": {
4
- "browser": true,
5
- "node": true
6
- },
7
- "globals": {},
8
- "settings": {},
9
- "rules": {
10
- "prefer-object-spread": "error",
11
- "yoda": "error",
12
- "no-duplicate-imports": "error",
13
- "no-undef": "error",
14
- "react/jsx-boolean-value": "error",
15
- "react/rules-of-hooks": "error",
16
- "react/exhaustive-deps": "off",
17
- "react/self-closing-comp": [
18
- "error",
19
- {
20
- "html": false
21
- }
22
- ],
23
- "unicorn/prefer-node-protocol": "error",
24
- "unicorn/prefer-array-some": "error",
25
- "unicorn/prefer-string-slice": "error",
26
- "unicorn/no-console-spaces": "error",
27
- "typescript/no-import-type-side-effects": "error"
28
- }
29
- }
@@ -1,7 +0,0 @@
1
- import type { Rspack } from '../../../types';
2
- declare class OxlintPlugin {
3
- private runOxlint;
4
- apply(compiler: Rspack.Compiler): void;
5
- }
6
- export { OxlintPlugin };
7
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bundler-config/plugins/oxlint/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAEvC,cAAM,YAAY;IAChB,OAAO,CAAC,SAAS;IA8BjB,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,GAAG,IAAI;CAoBvC;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}