@unpackjs/core 3.7.4 → 3.7.6
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/compiled/css-loader/index.js +20 -22
- package/compiled/less-loader/index.js +8 -8
- package/compiled/postcss-loader/index.js +8 -8
- package/compiled/sass-loader/index.js +8 -8
- package/dist/index.js +23 -35
- package/dist-types/bundler-config/cache.d.ts.map +1 -1
- package/dist-types/bundler-config/css.d.ts.map +1 -1
- package/dist-types/bundler-config/experimentCss.d.ts.map +1 -1
- package/dist-types/constants.d.ts +0 -3
- package/dist-types/constants.d.ts.map +1 -1
- package/dist-types/createUnpack.d.ts.map +1 -1
- package/dist-types/types/config.d.ts +0 -10
- package/dist-types/types/config.d.ts.map +1 -1
- package/package.json +2 -3
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
3093: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
5
|
+
const loader = __nccwpck_require__(2367);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
module.exports.defaultGetLocalIdent =
|
|
8
|
-
__nccwpck_require__(
|
|
8
|
+
__nccwpck_require__(5466).defaultGetLocalIdent;
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
2367: (__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__(
|
|
18
|
-
var _plugins = __nccwpck_require__(
|
|
19
|
-
var _utils = __nccwpck_require__(
|
|
17
|
+
var _options = _interopRequireDefault(__nccwpck_require__(8531));
|
|
18
|
+
var _plugins = __nccwpck_require__(6676);
|
|
19
|
+
var _utils = __nccwpck_require__(5466);
|
|
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
|
-
|
|
246
|
+
6676: (__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,20 @@
|
|
|
265
265
|
},
|
|
266
266
|
});
|
|
267
267
|
var _postcssImportParser = _interopRequireDefault(
|
|
268
|
-
__nccwpck_require__(
|
|
268
|
+
__nccwpck_require__(3551),
|
|
269
269
|
);
|
|
270
|
-
var _postcssIcssParser = _interopRequireDefault(
|
|
271
|
-
|
|
272
|
-
);
|
|
273
|
-
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(6384));
|
|
270
|
+
var _postcssIcssParser = _interopRequireDefault(__nccwpck_require__(610));
|
|
271
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(1381));
|
|
274
272
|
function _interopRequireDefault(obj) {
|
|
275
273
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
276
274
|
}
|
|
277
275
|
},
|
|
278
|
-
|
|
276
|
+
610: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
279
277
|
"use strict";
|
|
280
278
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
281
279
|
exports["default"] = void 0;
|
|
282
280
|
var _icssUtils = __nccwpck_require__(229);
|
|
283
|
-
var _utils = __nccwpck_require__(
|
|
281
|
+
var _utils = __nccwpck_require__(5466);
|
|
284
282
|
const plugin = (options = {}) => ({
|
|
285
283
|
postcssPlugin: "postcss-icss-parser",
|
|
286
284
|
async OnceExit(root) {
|
|
@@ -379,14 +377,14 @@
|
|
|
379
377
|
plugin.postcss = true;
|
|
380
378
|
var _default = (exports["default"] = plugin);
|
|
381
379
|
},
|
|
382
|
-
|
|
380
|
+
3551: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
383
381
|
"use strict";
|
|
384
382
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
385
383
|
exports["default"] = void 0;
|
|
386
384
|
var _postcssValueParser = _interopRequireDefault(
|
|
387
385
|
__nccwpck_require__(5245),
|
|
388
386
|
);
|
|
389
|
-
var _utils = __nccwpck_require__(
|
|
387
|
+
var _utils = __nccwpck_require__(5466);
|
|
390
388
|
function _interopRequireDefault(obj) {
|
|
391
389
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
392
390
|
}
|
|
@@ -691,14 +689,14 @@
|
|
|
691
689
|
plugin.postcss = true;
|
|
692
690
|
var _default = (exports["default"] = plugin);
|
|
693
691
|
},
|
|
694
|
-
|
|
692
|
+
1381: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
695
693
|
"use strict";
|
|
696
694
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
697
695
|
exports["default"] = void 0;
|
|
698
696
|
var _postcssValueParser = _interopRequireDefault(
|
|
699
697
|
__nccwpck_require__(5245),
|
|
700
698
|
);
|
|
701
|
-
var _utils = __nccwpck_require__(
|
|
699
|
+
var _utils = __nccwpck_require__(5466);
|
|
702
700
|
function _interopRequireDefault(obj) {
|
|
703
701
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
704
702
|
}
|
|
@@ -1041,7 +1039,7 @@
|
|
|
1041
1039
|
plugin.postcss = true;
|
|
1042
1040
|
var _default = (exports["default"] = plugin);
|
|
1043
1041
|
},
|
|
1044
|
-
|
|
1042
|
+
5466: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1045
1043
|
"use strict";
|
|
1046
1044
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1047
1045
|
exports.WEBPACK_IGNORE_COMMENT_REGEXP = void 0;
|
|
@@ -8086,7 +8084,7 @@
|
|
|
8086
8084
|
"use strict";
|
|
8087
8085
|
module.exports = require("util");
|
|
8088
8086
|
},
|
|
8089
|
-
|
|
8087
|
+
8531: (module) => {
|
|
8090
8088
|
"use strict";
|
|
8091
8089
|
module.exports = JSON.parse(
|
|
8092
8090
|
'{"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 +8119,6 @@
|
|
|
8121
8119
|
}
|
|
8122
8120
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
8123
8121
|
__nccwpck_require__.ab = __dirname + "/";
|
|
8124
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
8122
|
+
var __webpack_exports__ = __nccwpck_require__(3093);
|
|
8125
8123
|
module.exports = __webpack_exports__;
|
|
8126
8124
|
})();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
345: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(83)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
83: (__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__(
|
|
13
|
-
var _utils = __nccwpck_require__(
|
|
12
|
+
var _options = _interopRequireDefault(__nccwpck_require__(915));
|
|
13
|
+
var _utils = __nccwpck_require__(406);
|
|
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
|
-
|
|
115
|
+
406: (__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
|
-
|
|
315
|
+
915: (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__(
|
|
343
|
+
var __webpack_exports__ = __nccwpck_require__(345);
|
|
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
|
-
|
|
5322
|
+
1429: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5323
5323
|
"use strict";
|
|
5324
|
-
module.exports = __nccwpck_require__(
|
|
5324
|
+
module.exports = __nccwpck_require__(4079)["default"];
|
|
5325
5325
|
},
|
|
5326
|
-
|
|
5326
|
+
4079: (__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__(
|
|
5334
|
-
var _utils = __nccwpck_require__(
|
|
5333
|
+
var _options = _interopRequireDefault(__nccwpck_require__(2565));
|
|
5334
|
+
var _utils = __nccwpck_require__(3498);
|
|
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
|
-
|
|
5512
|
+
3498: (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
|
-
|
|
6623
|
+
2565: (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__(
|
|
6733
|
+
var __webpack_exports__ = __nccwpck_require__(1429);
|
|
6734
6734
|
module.exports = __webpack_exports__;
|
|
6735
6735
|
})();
|
|
@@ -4795,19 +4795,19 @@
|
|
|
4795
4795
|
}
|
|
4796
4796
|
});
|
|
4797
4797
|
},
|
|
4798
|
-
|
|
4798
|
+
717: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4799
4799
|
"use strict";
|
|
4800
|
-
const loader = __nccwpck_require__(
|
|
4800
|
+
const loader = __nccwpck_require__(127);
|
|
4801
4801
|
module.exports = loader.default;
|
|
4802
4802
|
},
|
|
4803
|
-
|
|
4803
|
+
127: (__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__(
|
|
4810
|
-
var _utils = __nccwpck_require__(
|
|
4809
|
+
var _options = _interopRequireDefault(__nccwpck_require__(979));
|
|
4810
|
+
var _utils = __nccwpck_require__(450);
|
|
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
|
-
|
|
4917
|
+
450: (__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
|
-
|
|
5571
|
+
979: (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__(
|
|
5601
|
+
var __webpack_exports__ = __nccwpck_require__(717);
|
|
5602
5602
|
module.exports = __webpack_exports__;
|
|
5603
5603
|
})();
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import __rslib_shim_module__ from 'module';
|
|
|
3
3
|
let require = __rslib_shim_module__.createRequire(import.meta.url);
|
|
4
4
|
import * as __rspack_external__compiled_launch_editor_index_js_29002383 from "../compiled/launch-editor/index.js";
|
|
5
5
|
import * as __rspack_external__compiled_webpack_merge_index_js_efd91626 from "../compiled/webpack-merge/index.js";
|
|
6
|
-
import {
|
|
6
|
+
import { rspack } from "@rspack/core";
|
|
7
7
|
import node_readline from "node:readline";
|
|
8
8
|
import node_fs from "node:fs";
|
|
9
9
|
import node_net from "node:net";
|
|
@@ -118,9 +118,7 @@ let CSS_MODULES_LOCAL_IDENT_NAME = '[path][name]__[local]--[hash:5]', CSS_MODULE
|
|
|
118
118
|
jsAsync: 'js/async/[name].[contenthash:8].js',
|
|
119
119
|
css: 'css/[name].[contenthash:8].css',
|
|
120
120
|
cssAsync: 'css/async/[name].[contenthash:8].css'
|
|
121
|
-
}, EXPORT_LOCALS_CONVENTION = 'camel-case-only', NODE_MODULES_REGEX = /[\\/]node_modules[\\/]/,
|
|
122
|
-
workers: 2
|
|
123
|
-
}, DEFAULT_DEV_HOST = '0.0.0.0', TEMPLATE_CONTENT = ({ title = '', headTag = '', mountId = '' })=>`<!DOCTYPE html>
|
|
121
|
+
}, EXPORT_LOCALS_CONVENTION = 'camel-case-only', NODE_MODULES_REGEX = /[\\/]node_modules[\\/]/, DEFAULT_DEV_HOST = '0.0.0.0', TEMPLATE_CONTENT = ({ title = '', headTag = '', mountId = '' })=>`<!DOCTYPE html>
|
|
124
122
|
<html lang="en">
|
|
125
123
|
|
|
126
124
|
<head>
|
|
@@ -524,9 +522,11 @@ async function getBuildDependencies(root, userBuildDependencies, envFilePaths) {
|
|
|
524
522
|
rootPackageJson
|
|
525
523
|
]), await isFileExists(tsconfigPath) && (buildDependencies.tsconfig = [
|
|
526
524
|
tsconfigPath
|
|
527
|
-
])
|
|
528
|
-
|
|
529
|
-
|
|
525
|
+
]);
|
|
526
|
+
let unpackConfigPath = resolveConfigPath(root);
|
|
527
|
+
unpackConfigPath && (buildDependencies.unpackConfig = [
|
|
528
|
+
unpackConfigPath
|
|
529
|
+
]), await isFileExists(browserslistConfig) && (buildDependencies.browserslistrc = [
|
|
530
530
|
browserslistConfig
|
|
531
531
|
]);
|
|
532
532
|
let tailwindConfig = findExists([
|
|
@@ -543,8 +543,8 @@ async function getBuildDependencies(root, userBuildDependencies, envFilePaths) {
|
|
|
543
543
|
};
|
|
544
544
|
}
|
|
545
545
|
async function applyCacheConfig({ config, unpackConfig, envFilePaths }) {
|
|
546
|
-
let cacheConfig = isPlainObject(unpackConfig.build.cache) ? unpackConfig.build.cache : {}, buildDependencies = await getBuildDependencies(unpackConfig.root, cacheConfig.buildDependencies || [], envFilePaths), cacheDirectory = cacheConfig.cacheDirectory;
|
|
547
|
-
return
|
|
546
|
+
let cacheConfig = isPlainObject(unpackConfig.build.cache) ? unpackConfig.build.cache : {}, buildDependencies = await getBuildDependencies(unpackConfig.root, cacheConfig.buildDependencies || [], envFilePaths), cacheDirectory = node_path.resolve(unpackConfig.root, cacheConfig.cacheDirectory || `${unpackConfig._context.cachePath}/cache`);
|
|
547
|
+
return logger_logger.info('persistent cache enabled'), config = mergeConfig(config, {
|
|
548
548
|
cache: !0,
|
|
549
549
|
experiments: {
|
|
550
550
|
cache: {
|
|
@@ -668,7 +668,7 @@ class JsMinifyPlugin {
|
|
|
668
668
|
apply(compiler) {
|
|
669
669
|
let meta = JSON.stringify({
|
|
670
670
|
name: jsMinify_PLUGIN_NAME,
|
|
671
|
-
version: "3.7.
|
|
671
|
+
version: "3.7.6",
|
|
672
672
|
options: this.minifyOptions
|
|
673
673
|
});
|
|
674
674
|
compiler.hooks.compilation.tap(jsMinify_PLUGIN_NAME, (compilation)=>{
|
|
@@ -1000,6 +1000,7 @@ async function getBundlerConfig(originalUnpackConfig) {
|
|
|
1000
1000
|
prefixes: unpackConfig.envPrefix,
|
|
1001
1001
|
cwd: unpackConfig.root
|
|
1002
1002
|
}), config = {
|
|
1003
|
+
name: utils_isDevServer() ? 'dev' : 'build',
|
|
1003
1004
|
context: unpackConfig.root,
|
|
1004
1005
|
mode: isDev() ? 'development' : 'production',
|
|
1005
1006
|
entry: unpackConfig.mpa ? {} : {
|
|
@@ -1021,7 +1022,7 @@ async function getBundlerConfig(originalUnpackConfig) {
|
|
|
1021
1022
|
crossOriginLoading: 'anonymous',
|
|
1022
1023
|
pathinfo: !1,
|
|
1023
1024
|
publicPath: unpackConfig.build?.publicPath,
|
|
1024
|
-
webassemblyModuleFilename: '
|
|
1025
|
+
webassemblyModuleFilename: 'wasm/[contenthash:8].module.wasm',
|
|
1025
1026
|
assetModuleFilename: 'assets/[name].[contenthash:8][ext]'
|
|
1026
1027
|
},
|
|
1027
1028
|
infrastructureLogging: {
|
|
@@ -1110,7 +1111,7 @@ async function getBundlerConfig(originalUnpackConfig) {
|
|
|
1110
1111
|
...unpackConfig.resolve?.extensions || []
|
|
1111
1112
|
]
|
|
1112
1113
|
},
|
|
1113
|
-
lazyCompilation:
|
|
1114
|
+
lazyCompilation: utils_isDevServer() && {
|
|
1114
1115
|
imports: !0,
|
|
1115
1116
|
entries: !!unpackConfig.mpa
|
|
1116
1117
|
},
|
|
@@ -1207,10 +1208,7 @@ async function getBundlerConfig(originalUnpackConfig) {
|
|
|
1207
1208
|
use,
|
|
1208
1209
|
type: 'css/module'
|
|
1209
1210
|
};
|
|
1210
|
-
},
|
|
1211
|
-
loader: require.resolve('thread-loader'),
|
|
1212
|
-
options: THREAD_OPTIONS
|
|
1213
|
-
}, getLessLoader = ()=>({
|
|
1211
|
+
}, getLessLoader = ()=>({
|
|
1214
1212
|
loader: getCompiledPkgPath('less-loader'),
|
|
1215
1213
|
options: {
|
|
1216
1214
|
lessOptions: mergeConfig({
|
|
@@ -1264,16 +1262,14 @@ async function getBundlerConfig(originalUnpackConfig) {
|
|
|
1264
1262
|
withCssModules({
|
|
1265
1263
|
use: [
|
|
1266
1264
|
getCssLoader(),
|
|
1267
|
-
getThreadLoader(),
|
|
1268
1265
|
getLessLoader()
|
|
1269
|
-
]
|
|
1266
|
+
]
|
|
1270
1267
|
}),
|
|
1271
1268
|
{
|
|
1272
1269
|
use: [
|
|
1273
1270
|
getCssLoader(),
|
|
1274
|
-
getThreadLoader(),
|
|
1275
1271
|
getLessLoader()
|
|
1276
|
-
]
|
|
1272
|
+
],
|
|
1277
1273
|
type: 'css'
|
|
1278
1274
|
}
|
|
1279
1275
|
].filter(Boolean)
|
|
@@ -1366,10 +1362,6 @@ async function getBundlerConfig(originalUnpackConfig) {
|
|
|
1366
1362
|
importLoaders: 2
|
|
1367
1363
|
}),
|
|
1368
1364
|
getCssLoader(),
|
|
1369
|
-
unpackConfig.build?.parallel && utils_isProd() && {
|
|
1370
|
-
loader: require.resolve('thread-loader'),
|
|
1371
|
-
options: THREAD_OPTIONS
|
|
1372
|
-
},
|
|
1373
1365
|
{
|
|
1374
1366
|
loader: getCompiledPkgPath('less-loader'),
|
|
1375
1367
|
options: {
|
|
@@ -1380,7 +1372,7 @@ async function getBundlerConfig(originalUnpackConfig) {
|
|
|
1380
1372
|
sourceMap
|
|
1381
1373
|
}
|
|
1382
1374
|
}
|
|
1383
|
-
]
|
|
1375
|
+
]
|
|
1384
1376
|
}), config.module.rules.push({
|
|
1385
1377
|
test: /\.css$/i,
|
|
1386
1378
|
use: [
|
|
@@ -1415,7 +1407,7 @@ async function getBundlerConfig(originalUnpackConfig) {
|
|
|
1415
1407
|
unpackConfig
|
|
1416
1408
|
}),
|
|
1417
1409
|
unpackConfig
|
|
1418
|
-
}), unpackConfig.build?.cache &&
|
|
1410
|
+
}), unpackConfig.build?.cache && (config = await applyCacheConfig({
|
|
1419
1411
|
config,
|
|
1420
1412
|
unpackConfig,
|
|
1421
1413
|
envFilePaths
|
|
@@ -1874,9 +1866,9 @@ async function unpackDev(originalUnpackConfig) {
|
|
|
1874
1866
|
};
|
|
1875
1867
|
devServerOptions.setupMiddlewares = (middlewares)=>(middlewares.unshift((req, _, next)=>{
|
|
1876
1868
|
req.headers.accept?.includes('html') && (req.url = '/index.html'), next();
|
|
1877
|
-
}), middlewares.unshift(
|
|
1869
|
+
}), middlewares.unshift(rspack.lazyCompilationMiddleware(compiler)), middlewares);
|
|
1878
1870
|
let server = new RspackDevServer(devServerOptions, compiler);
|
|
1879
|
-
await server.start(), logger_logger.greet(` ${colors.brand(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.7.
|
|
1871
|
+
await server.start(), logger_logger.greet(` ${colors.brand(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.7.6`)} ${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())));
|
|
1880
1872
|
let open = unpackConfig.server?.open, url = isString(open) ? open : `http://localhost:${port}`;
|
|
1881
1873
|
open && openBrowser(url), setupCliShortcuts({
|
|
1882
1874
|
openPage: async ()=>{
|
|
@@ -1912,7 +1904,7 @@ function printAddressUrls(port, host) {
|
|
|
1912
1904
|
function createUnpack({ cwd = process.cwd(), config: userConfig, callerName = 'unpack' }) {
|
|
1913
1905
|
let _context = {
|
|
1914
1906
|
callerName,
|
|
1915
|
-
version: "3.7.
|
|
1907
|
+
version: "3.7.6",
|
|
1916
1908
|
cachePath: 'node_modules/.unpack'
|
|
1917
1909
|
};
|
|
1918
1910
|
global.__unpack_caller_name = callerName;
|
|
@@ -1925,13 +1917,9 @@ function createUnpack({ cwd = process.cwd(), config: userConfig, callerName = 'u
|
|
|
1925
1917
|
outDir: 'dist',
|
|
1926
1918
|
minify: isProd = 'production' === mode,
|
|
1927
1919
|
sourceMap: !isProd && 'cheap-module-source-map',
|
|
1928
|
-
parallel: !0,
|
|
1929
1920
|
filenameHash: !0,
|
|
1930
1921
|
target: 'es2022'
|
|
1931
1922
|
},
|
|
1932
|
-
dev: {
|
|
1933
|
-
lazyCompilation: !0
|
|
1934
|
-
},
|
|
1935
1923
|
server: {
|
|
1936
1924
|
port: 3000
|
|
1937
1925
|
},
|
|
@@ -1962,7 +1950,7 @@ function createUnpack({ cwd = process.cwd(), config: userConfig, callerName = 'u
|
|
|
1962
1950
|
let mode = watch ? 'development' : 'production';
|
|
1963
1951
|
setNodeEnv(mode);
|
|
1964
1952
|
let config = resolveConfig(mode);
|
|
1965
|
-
console.log(colors.brand(`${callerName} v3.7.
|
|
1953
|
+
console.log(colors.brand(`${callerName} v3.7.6`), colors.cyan(`building for ${mode}...`)), await unpackBuild(config);
|
|
1966
1954
|
},
|
|
1967
1955
|
dev: async ()=>{
|
|
1968
1956
|
global.__unpack_start_time = performance.now();
|
|
@@ -1993,4 +1981,4 @@ async function createChokidar(pathOrGlobs, root = process.cwd(), options) {
|
|
|
1993
1981
|
var __webpack_exports__CSS_NAMED_EXPORT = !1;
|
|
1994
1982
|
import { fileURLToPath as __rspack_fileURLToPath, pathToFileURL } from "node:url";
|
|
1995
1983
|
import node_path, { dirname as __rspack_dirname, join, sep } from "node:path";
|
|
1996
|
-
export { CSS_MODULES_LOCAL_IDENT_NAME, CSS_MODULES_REGEX, DEFAULT_DEV_HOST, DEV_DEFAULT_FILENAME, EXPORT_LOCALS_CONVENTION, logger_LogColor as LogColor, NODE_MODULES_REGEX, PROD_DEFAULT_FILENAME, TEMPLATE_CONTENT,
|
|
1984
|
+
export { CSS_MODULES_LOCAL_IDENT_NAME, CSS_MODULES_REGEX, DEFAULT_DEV_HOST, DEV_DEFAULT_FILENAME, EXPORT_LOCALS_CONVENTION, logger_LogColor as LogColor, NODE_MODULES_REGEX, PROD_DEFAULT_FILENAME, TEMPLATE_CONTENT, addRestartCleaner, cleanUpBeforeRestart, clearLine, colors, convertBasicAnsiColors, createChokidar, createUnpack, currentDevUnpackConfig, debounce, defineConfig, esVersionToBrowserslist, findExists, getAddressUrls, getCompiledPkgPath, getIpv4Interfaces, getNodeEnv, getOrSetDefault, getPathInJs, getPort, getTime, getUserDepPath, getUserDepVersion, isBoolean, isCSSModules, isDebug, isDev, utils_isDevServer as isDevServer, isEmptyDir, isFileExists, isFileSync, isFunction, isNodeVersionAtLeast, isObject, isPlainObject, utils_isProd as isProd, isRegExp, isString, isUndefined, isWatch, isWin, launchEditor, loadConfig, logUpdate, logger_logger as logger, mergeConfig, pLimit, pathExists, pathToExportIdentifier, prettyTime, removeDir, resolveConfigPath, rspack, set, setCurrentDevUnpackConfig, setDevServer, setNodeEnv, setupCliShortcuts, trackPerformance, __webpack_exports__CSS_NAMED_EXPORT as CSS_NAMED_EXPORT };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../src/bundler-config/cache.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../src/bundler-config/cache.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAgDnE,wBAAsB,gBAAgB,CAAC,EACrC,MAAM,EACN,YAAY,EACZ,YAAY,GACb,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;IAC1B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAA;CACxB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CA0BhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../src/bundler-config/css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"css.d.ts","sourceRoot":"","sources":["../../src/bundler-config/css.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,oBAAoB,EAAU,YAAY,EAAE,MAAM,WAAW,CAAA;AAc3E,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,YAAY,GACb,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;CAC3B,GAAG,oBAAoB,CAoIvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"experimentCss.d.ts","sourceRoot":"","sources":["../../src/bundler-config/experimentCss.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"experimentCss.d.ts","sourceRoot":"","sources":["../../src/bundler-config/experimentCss.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,oBAAoB,EAAU,YAAY,EAAE,MAAM,WAAW,CAAA;AAa3E,wBAAgB,wBAAwB,CAAC,EACvC,MAAM,EACN,YAAY,GACb,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;CAC3B,GAAG,oBAAoB,CAiIvB"}
|
|
@@ -15,9 +15,6 @@ export declare const PROD_DEFAULT_FILENAME: {
|
|
|
15
15
|
export declare const EXPORT_LOCALS_CONVENTION = "camel-case-only";
|
|
16
16
|
export declare const NODE_MODULES_REGEX: RegExp;
|
|
17
17
|
export declare const CSS_NAMED_EXPORT = false;
|
|
18
|
-
export declare const THREAD_OPTIONS: {
|
|
19
|
-
workers: number;
|
|
20
|
-
};
|
|
21
18
|
export declare const DEFAULT_DEV_HOST = "0.0.0.0";
|
|
22
19
|
export declare const TEMPLATE_CONTENT: ({ title, headTag, mountId }: {
|
|
23
20
|
title?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,oCAAoC,CAAA;AAC7E,eAAO,MAAM,iBAAiB,QAAoB,CAAA;AAClD,eAAO,MAAM,oBAAoB;;;;;CAKhC,CAAA;AACD,eAAO,MAAM,qBAAqB;;;;;CAKjC,CAAA;AACD,eAAO,MAAM,wBAAwB,oBAAoB,CAAA;AACzD,eAAO,MAAM,kBAAkB,QAA2B,CAAA;AAC1D,eAAO,MAAM,gBAAgB,QAAQ,CAAA;AACrC,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B,oCAAoC,CAAA;AAC7E,eAAO,MAAM,iBAAiB,QAAoB,CAAA;AAClD,eAAO,MAAM,oBAAoB;;;;;CAKhC,CAAA;AACD,eAAO,MAAM,qBAAqB;;;;;CAKjC,CAAA;AACD,eAAO,MAAM,wBAAwB,oBAAoB,CAAA;AACzD,eAAO,MAAM,kBAAkB,QAA2B,CAAA;AAC1D,eAAO,MAAM,gBAAgB,QAAQ,CAAA;AACrC,eAAO,MAAM,gBAAgB,YAAY,CAAA;AACzC,eAAO,MAAM,gBAAgB,GAAI;;;;CAA0C,WAkB1E,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createUnpack.d.ts","sourceRoot":"","sources":["../src/createUnpack.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAW,YAAY,EAAiB,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"createUnpack.d.ts","sourceRoot":"","sources":["../src/createUnpack.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAW,YAAY,EAAiB,MAAM,SAAS,CAAA;AAqCnE,wBAAgB,YAAY,CAAC,EAC3B,GAAmB,EACnB,MAAM,EAAE,UAAU,EAClB,UAAqB,GACtB,EAAE;IACD,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,YAAY,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB;wBAoB4B;QAAE,KAAK,CAAC,EAAE,OAAO,CAAA;KAAE;;;EA8B/C"}
|
|
@@ -119,11 +119,6 @@ export type UnpackConfig = {
|
|
|
119
119
|
* @default false
|
|
120
120
|
*/
|
|
121
121
|
writeToDisk?: boolean;
|
|
122
|
-
/**
|
|
123
|
-
* Enable lazy compilation.
|
|
124
|
-
* @default true
|
|
125
|
-
*/
|
|
126
|
-
lazyCompilation?: boolean;
|
|
127
122
|
/**
|
|
128
123
|
* Whether to prebundle dependencies.
|
|
129
124
|
* @default false
|
|
@@ -177,11 +172,6 @@ export type UnpackConfig = {
|
|
|
177
172
|
* By default, it is set to `false` in production and `cheap-module-source-map` in development.
|
|
178
173
|
*/
|
|
179
174
|
sourceMap?: BundlerConfiguration['devtool'];
|
|
180
|
-
/**
|
|
181
|
-
* Speed up build with `thread-loader`.
|
|
182
|
-
* @default true
|
|
183
|
-
*/
|
|
184
|
-
parallel?: boolean;
|
|
185
175
|
/**
|
|
186
176
|
* Whether to enable `filesystem` cache.
|
|
187
177
|
* @default false
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/types/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,MAAM,cAAc,CAAA;AAC3C,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAA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AAA;QACvB;;WAEG;QACH,SAAS,CAAC,EAAE,OAAO,CAAA;QACnB;;WAEG;QACH,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unpackjs/core",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.6",
|
|
4
4
|
"description": "An Rspack-based build tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@rsdoctor/rspack-plugin": "1.3.16",
|
|
39
|
-
"@rspack/core": "1.
|
|
39
|
+
"@rspack/core": "1.7.0-beta.0",
|
|
40
40
|
"@rspack/dev-server": "1.1.4",
|
|
41
41
|
"@types/less": "3.0.8",
|
|
42
42
|
"chokidar": "5.0.0",
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
"oxc-minify": "0.103.0",
|
|
46
46
|
"portfinder": "1.0.38",
|
|
47
47
|
"postcss": "8.5.6",
|
|
48
|
-
"thread-loader": "4.0.4",
|
|
49
48
|
"tinyglobby": "0.2.15",
|
|
50
49
|
"ts-checker-rspack-plugin": "1.2.2"
|
|
51
50
|
},
|