@unpackjs/core 3.7.6 → 3.7.8
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 +22 -20
- package/compiled/less-loader/index.js +8 -8
- package/compiled/postcss-loader/index.js +8 -8
- package/compiled/sass-loader/index.js +9 -9
- package/compiled/sass-loader/sass.node.js +12 -0
- package/dist/index.js +21 -26
- package/dist-types/bundler-config/cache.d.ts +1 -1
- package/dist-types/bundler-config/cache.d.ts.map +1 -1
- package/dist-types/bundler-config/plugins/progress/index.d.ts.map +1 -1
- package/dist-types/reporter.d.ts.map +1 -1
- package/dist-types/types/config.d.ts +2 -3
- package/dist-types/types/config.d.ts.map +1 -1
- package/package.json +4 -6
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
var __webpack_modules__ = {
|
|
3
|
-
|
|
3
|
+
818: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4
4
|
"use strict";
|
|
5
|
-
const loader = __nccwpck_require__(
|
|
5
|
+
const loader = __nccwpck_require__(2080);
|
|
6
6
|
module.exports = loader.default;
|
|
7
7
|
module.exports.defaultGetLocalIdent =
|
|
8
|
-
__nccwpck_require__(
|
|
8
|
+
__nccwpck_require__(537).defaultGetLocalIdent;
|
|
9
9
|
},
|
|
10
|
-
|
|
10
|
+
2080: (__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__(1952));
|
|
18
|
+
var _plugins = __nccwpck_require__(2591);
|
|
19
|
+
var _utils = __nccwpck_require__(537);
|
|
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
|
+
2591: (__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,20 +265,22 @@
|
|
|
265
265
|
},
|
|
266
266
|
});
|
|
267
267
|
var _postcssImportParser = _interopRequireDefault(
|
|
268
|
-
__nccwpck_require__(
|
|
268
|
+
__nccwpck_require__(3132),
|
|
269
269
|
);
|
|
270
|
-
var _postcssIcssParser = _interopRequireDefault(
|
|
271
|
-
|
|
270
|
+
var _postcssIcssParser = _interopRequireDefault(
|
|
271
|
+
__nccwpck_require__(7017),
|
|
272
|
+
);
|
|
273
|
+
var _postcssUrlParser = _interopRequireDefault(__nccwpck_require__(6528));
|
|
272
274
|
function _interopRequireDefault(obj) {
|
|
273
275
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
274
276
|
}
|
|
275
277
|
},
|
|
276
|
-
|
|
278
|
+
7017: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
277
279
|
"use strict";
|
|
278
280
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
279
281
|
exports["default"] = void 0;
|
|
280
282
|
var _icssUtils = __nccwpck_require__(229);
|
|
281
|
-
var _utils = __nccwpck_require__(
|
|
283
|
+
var _utils = __nccwpck_require__(537);
|
|
282
284
|
const plugin = (options = {}) => ({
|
|
283
285
|
postcssPlugin: "postcss-icss-parser",
|
|
284
286
|
async OnceExit(root) {
|
|
@@ -377,14 +379,14 @@
|
|
|
377
379
|
plugin.postcss = true;
|
|
378
380
|
var _default = (exports["default"] = plugin);
|
|
379
381
|
},
|
|
380
|
-
|
|
382
|
+
3132: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
381
383
|
"use strict";
|
|
382
384
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
383
385
|
exports["default"] = void 0;
|
|
384
386
|
var _postcssValueParser = _interopRequireDefault(
|
|
385
387
|
__nccwpck_require__(5245),
|
|
386
388
|
);
|
|
387
|
-
var _utils = __nccwpck_require__(
|
|
389
|
+
var _utils = __nccwpck_require__(537);
|
|
388
390
|
function _interopRequireDefault(obj) {
|
|
389
391
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
390
392
|
}
|
|
@@ -689,14 +691,14 @@
|
|
|
689
691
|
plugin.postcss = true;
|
|
690
692
|
var _default = (exports["default"] = plugin);
|
|
691
693
|
},
|
|
692
|
-
|
|
694
|
+
6528: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
693
695
|
"use strict";
|
|
694
696
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
695
697
|
exports["default"] = void 0;
|
|
696
698
|
var _postcssValueParser = _interopRequireDefault(
|
|
697
699
|
__nccwpck_require__(5245),
|
|
698
700
|
);
|
|
699
|
-
var _utils = __nccwpck_require__(
|
|
701
|
+
var _utils = __nccwpck_require__(537);
|
|
700
702
|
function _interopRequireDefault(obj) {
|
|
701
703
|
return obj && obj.__esModule ? obj : { default: obj };
|
|
702
704
|
}
|
|
@@ -1039,7 +1041,7 @@
|
|
|
1039
1041
|
plugin.postcss = true;
|
|
1040
1042
|
var _default = (exports["default"] = plugin);
|
|
1041
1043
|
},
|
|
1042
|
-
|
|
1044
|
+
537: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
1043
1045
|
"use strict";
|
|
1044
1046
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1045
1047
|
exports.WEBPACK_IGNORE_COMMENT_REGEXP = void 0;
|
|
@@ -8084,7 +8086,7 @@
|
|
|
8084
8086
|
"use strict";
|
|
8085
8087
|
module.exports = require("util");
|
|
8086
8088
|
},
|
|
8087
|
-
|
|
8089
|
+
1952: (module) => {
|
|
8088
8090
|
"use strict";
|
|
8089
8091
|
module.exports = JSON.parse(
|
|
8090
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"}',
|
|
@@ -8119,6 +8121,6 @@
|
|
|
8119
8121
|
}
|
|
8120
8122
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
8121
8123
|
__nccwpck_require__.ab = __dirname + "/";
|
|
8122
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
8124
|
+
var __webpack_exports__ = __nccwpck_require__(818);
|
|
8123
8125
|
module.exports = __webpack_exports__;
|
|
8124
8126
|
})();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
198: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(588)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
588: (__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__(680));
|
|
13
|
+
var _utils = __nccwpck_require__(333);
|
|
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
|
+
333: (__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
|
+
680: (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__(198);
|
|
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
|
+
2296: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5323
5323
|
"use strict";
|
|
5324
|
-
module.exports = __nccwpck_require__(
|
|
5324
|
+
module.exports = __nccwpck_require__(5062)["default"];
|
|
5325
5325
|
},
|
|
5326
|
-
|
|
5326
|
+
5062: (__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__(6512));
|
|
5334
|
+
var _utils = __nccwpck_require__(5047);
|
|
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
|
+
5047: (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
|
+
6512: (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__(2296);
|
|
6734
6734
|
module.exports = __webpack_exports__;
|
|
6735
6735
|
})();
|
|
@@ -4795,19 +4795,19 @@
|
|
|
4795
4795
|
}
|
|
4796
4796
|
});
|
|
4797
4797
|
},
|
|
4798
|
-
|
|
4798
|
+
498: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4799
4799
|
"use strict";
|
|
4800
|
-
const loader = __nccwpck_require__(
|
|
4800
|
+
const loader = __nccwpck_require__(472);
|
|
4801
4801
|
module.exports = loader.default;
|
|
4802
4802
|
},
|
|
4803
|
-
|
|
4803
|
+
472: (__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__(32));
|
|
4810
|
+
var _utils = __nccwpck_require__(105);
|
|
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
|
+
105: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
4918
4918
|
"use strict";
|
|
4919
4919
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4920
4920
|
exports.errorFactory = errorFactory;
|
|
@@ -4937,7 +4937,7 @@
|
|
|
4937
4937
|
sassImplPkg = "sass-embedded";
|
|
4938
4938
|
} catch {
|
|
4939
4939
|
try {
|
|
4940
|
-
|
|
4940
|
+
__nccwpck_require__.ab + "sass.node.js";
|
|
4941
4941
|
} catch {
|
|
4942
4942
|
try {
|
|
4943
4943
|
require.resolve("node-sass");
|
|
@@ -5568,7 +5568,7 @@
|
|
|
5568
5568
|
"use strict";
|
|
5569
5569
|
module.exports = require("sass");
|
|
5570
5570
|
},
|
|
5571
|
-
|
|
5571
|
+
32: (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__(498);
|
|
5602
5602
|
module.exports = __webpack_exports__;
|
|
5603
5603
|
})();
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
require('./sass.dart.js');
|
|
2
|
+
const library = globalThis._cliPkgExports.pop();
|
|
3
|
+
if (globalThis._cliPkgExports.length === 0) delete globalThis._cliPkgExports;
|
|
4
|
+
library.load({
|
|
5
|
+
util: require("util"),
|
|
6
|
+
stream: require("stream"),
|
|
7
|
+
nodeModule: require("module"),
|
|
8
|
+
fs: require("fs"),
|
|
9
|
+
immutable: require("immutable"),
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
module.exports = library;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
let lastTrackTime, lastFileInfo, logger;
|
|
2
2
|
import __rslib_shim_module__ from 'module';
|
|
3
3
|
let require = __rslib_shim_module__.createRequire(import.meta.url);
|
|
4
|
+
import { fileURLToPath as __rspack_fileURLToPath, pathToFileURL } from "node:url";
|
|
5
|
+
import node_path, { dirname as __rspack_dirname, join, sep } from "node:path";
|
|
4
6
|
import * as __rspack_external__compiled_launch_editor_index_js_29002383 from "../compiled/launch-editor/index.js";
|
|
5
7
|
import * as __rspack_external__compiled_webpack_merge_index_js_efd91626 from "../compiled/webpack-merge/index.js";
|
|
6
8
|
import { rspack } from "@rspack/core";
|
|
@@ -516,18 +518,18 @@ async function applyBuildAnalyzeConfig({ config }) {
|
|
|
516
518
|
let { RsdoctorRspackPlugin } = await import("@rsdoctor/rspack-plugin");
|
|
517
519
|
return config.plugins?.push(new RsdoctorRspackPlugin()), config;
|
|
518
520
|
}
|
|
519
|
-
async function getBuildDependencies(root
|
|
521
|
+
async function getBuildDependencies(root) {
|
|
520
522
|
let rootPackageJson = node_path.join(root, 'package.json'), browserslistConfig = node_path.join(root, '.browserslistrc'), tsconfigPath = node_path.join(root, 'tsconfig.json'), buildDependencies = {};
|
|
521
523
|
await isFileExists(rootPackageJson) && (buildDependencies.packageJson = [
|
|
522
524
|
rootPackageJson
|
|
525
|
+
]), await isFileExists(browserslistConfig) && (buildDependencies.browserslistrc = [
|
|
526
|
+
browserslistConfig
|
|
523
527
|
]), await isFileExists(tsconfigPath) && (buildDependencies.tsconfig = [
|
|
524
528
|
tsconfigPath
|
|
525
529
|
]);
|
|
526
530
|
let unpackConfigPath = resolveConfigPath(root);
|
|
527
531
|
unpackConfigPath && (buildDependencies.unpackConfig = [
|
|
528
532
|
unpackConfigPath
|
|
529
|
-
]), await isFileExists(browserslistConfig) && (buildDependencies.browserslistrc = [
|
|
530
|
-
browserslistConfig
|
|
531
533
|
]);
|
|
532
534
|
let tailwindConfig = findExists([
|
|
533
535
|
'ts',
|
|
@@ -537,14 +539,13 @@ async function getBuildDependencies(root, userBuildDependencies, envFilePaths) {
|
|
|
537
539
|
].map((ext)=>node_path.join(root, `tailwind.config.${ext}`)));
|
|
538
540
|
return tailwindConfig && (buildDependencies.tailwindcss = [
|
|
539
541
|
tailwindConfig
|
|
540
|
-
]),
|
|
541
|
-
...buildDependencies,
|
|
542
|
-
userBuildDependencies
|
|
543
|
-
};
|
|
542
|
+
]), buildDependencies;
|
|
544
543
|
}
|
|
545
544
|
async function applyCacheConfig({ config, unpackConfig, envFilePaths }) {
|
|
546
|
-
let cacheConfig = isPlainObject(unpackConfig.build.cache) ? unpackConfig.build.cache : {}, buildDependencies = await getBuildDependencies(unpackConfig.root
|
|
547
|
-
|
|
545
|
+
let cacheConfig = isPlainObject(unpackConfig.build.cache) ? unpackConfig.build.cache : {}, buildDependencies = await getBuildDependencies(unpackConfig.root);
|
|
546
|
+
buildDependencies.userBuildDependencies = cacheConfig.buildDependencies || [], buildDependencies.envFilePaths = envFilePaths;
|
|
547
|
+
let cacheDirectory = node_path.resolve(unpackConfig.root, cacheConfig.cacheDirectory || `${unpackConfig._context.cachePath}/cache`, utils_isDevServer() ? 'dev' : 'build');
|
|
548
|
+
return mergeConfig(config, {
|
|
548
549
|
cache: !0,
|
|
549
550
|
experiments: {
|
|
550
551
|
cache: {
|
|
@@ -668,7 +669,7 @@ class JsMinifyPlugin {
|
|
|
668
669
|
apply(compiler) {
|
|
669
670
|
let meta = JSON.stringify({
|
|
670
671
|
name: jsMinify_PLUGIN_NAME,
|
|
671
|
-
version: "3.7.
|
|
672
|
+
version: "3.7.8",
|
|
672
673
|
options: this.minifyOptions
|
|
673
674
|
});
|
|
674
675
|
compiler.hooks.compilation.tap(jsMinify_PLUGIN_NAME, (compilation)=>{
|
|
@@ -788,10 +789,8 @@ async function printFileSize({ root, stats }) {
|
|
|
788
789
|
color: 'cyan',
|
|
789
790
|
chunks: []
|
|
790
791
|
}
|
|
791
|
-
], chunkGroupMap = chunkGroups.reduce((acc, cur)=>(acc[cur.type] = cur, acc), {}),
|
|
792
|
-
logUpdate(
|
|
793
|
-
let distPath = stats.compilation.outputOptions.path, distFolder = node_path.relative(root, distPath), assets = Object.entries(stats.compilation.assets), longest = 0, totalSize = 0, totalCompressedSize = 0;
|
|
794
|
-
await Promise.all(assets.map(async ([assetName, value])=>{
|
|
792
|
+
], chunkGroupMap = chunkGroups.reduce((acc, cur)=>(acc[cur.type] = cur, acc), {}), distPath = stats.compilation.outputOptions.path, distFolder = node_path.relative(root, distPath), assets = Object.entries(stats.compilation.assets), longest = 0, totalSize = 0, totalCompressedSize = 0;
|
|
793
|
+
logUpdate('computing gzip size...'), await Promise.all(assets.map(async ([assetName, value])=>{
|
|
795
794
|
let content, compressedSize, filePath = assetName.split('?')[0];
|
|
796
795
|
try {
|
|
797
796
|
content = value.source();
|
|
@@ -799,7 +798,7 @@ async function printFileSize({ root, stats }) {
|
|
|
799
798
|
content = node_fs.readFileSync(node_path.join(distPath, filePath));
|
|
800
799
|
}
|
|
801
800
|
let size = Buffer.byteLength(content);
|
|
802
|
-
compressedSize = COMPRESSIBLE_REGEX.test(filePath) ? await getCompressedSize(content) : size, totalSize += size, totalCompressedSize += compressedSize
|
|
801
|
+
compressedSize = COMPRESSIBLE_REGEX.test(filePath) ? await getCompressedSize(content) : size, totalSize += size, totalCompressedSize += compressedSize;
|
|
803
802
|
let chunk = {
|
|
804
803
|
name: node_path.basename(filePath),
|
|
805
804
|
path: `${distFolder}/${filePath}`,
|
|
@@ -820,7 +819,7 @@ async function printFileSize({ root, stats }) {
|
|
|
820
819
|
default:
|
|
821
820
|
chunkGroupMap.Assets.chunks.push(chunk);
|
|
822
821
|
}
|
|
823
|
-
}));
|
|
822
|
+
})), logUpdate(`✓ computed gzip size (${assets.length})`), console.log();
|
|
824
823
|
let sizePad = displaySize(totalSize).length, compressPad = displaySize(totalCompressedSize).length;
|
|
825
824
|
chunkGroups.forEach((group)=>{
|
|
826
825
|
group.chunks.sort((a, b)=>a.size - b.size).forEach((chunk)=>{
|
|
@@ -884,9 +883,7 @@ async function compileDone(compiler, stats) {
|
|
|
884
883
|
let progress_PLUGIN_NAME = 'ProgressPlugin';
|
|
885
884
|
class ProgressLiteRspackPlugin {
|
|
886
885
|
apply(compiler) {
|
|
887
|
-
compiler.hooks.
|
|
888
|
-
logger_logger.info('build started...');
|
|
889
|
-
}), compiler.hooks.afterDone.tap(progress_PLUGIN_NAME, async (stats)=>{
|
|
886
|
+
compiler.hooks.afterDone.tap(progress_PLUGIN_NAME, async (stats)=>{
|
|
890
887
|
await compileDone(compiler, stats);
|
|
891
888
|
});
|
|
892
889
|
}
|
|
@@ -1000,7 +997,7 @@ async function getBundlerConfig(originalUnpackConfig) {
|
|
|
1000
997
|
prefixes: unpackConfig.envPrefix,
|
|
1001
998
|
cwd: unpackConfig.root
|
|
1002
999
|
}), config = {
|
|
1003
|
-
name:
|
|
1000
|
+
name: unpackConfig._context.callerName,
|
|
1004
1001
|
context: unpackConfig.root,
|
|
1005
1002
|
mode: isDev() ? 'development' : 'production',
|
|
1006
1003
|
entry: unpackConfig.mpa ? {} : {
|
|
@@ -1868,7 +1865,7 @@ async function unpackDev(originalUnpackConfig) {
|
|
|
1868
1865
|
req.headers.accept?.includes('html') && (req.url = '/index.html'), next();
|
|
1869
1866
|
}), middlewares.unshift(rspack.lazyCompilationMiddleware(compiler)), middlewares);
|
|
1870
1867
|
let server = new RspackDevServer(devServerOptions, compiler);
|
|
1871
|
-
await server.start(), logger_logger.greet(` ${colors.brand(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.7.
|
|
1868
|
+
await server.start(), logger_logger.greet(` ${colors.brand(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.7.8${unpackConfig.build?.cache ? ' ϟ' : ''}`)} ${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())));
|
|
1872
1869
|
let open = unpackConfig.server?.open, url = isString(open) ? open : `http://localhost:${port}`;
|
|
1873
1870
|
open && openBrowser(url), setupCliShortcuts({
|
|
1874
1871
|
openPage: async ()=>{
|
|
@@ -1904,7 +1901,7 @@ function printAddressUrls(port, host) {
|
|
|
1904
1901
|
function createUnpack({ cwd = process.cwd(), config: userConfig, callerName = 'unpack' }) {
|
|
1905
1902
|
let _context = {
|
|
1906
1903
|
callerName,
|
|
1907
|
-
version: "3.7.
|
|
1904
|
+
version: "3.7.8",
|
|
1908
1905
|
cachePath: 'node_modules/.unpack'
|
|
1909
1906
|
};
|
|
1910
1907
|
global.__unpack_caller_name = callerName;
|
|
@@ -1950,7 +1947,7 @@ function createUnpack({ cwd = process.cwd(), config: userConfig, callerName = 'u
|
|
|
1950
1947
|
let mode = watch ? 'development' : 'production';
|
|
1951
1948
|
setNodeEnv(mode);
|
|
1952
1949
|
let config = resolveConfig(mode);
|
|
1953
|
-
console.log(colors.brand(`${callerName} v3.7.
|
|
1950
|
+
console.log(colors.brand(`${callerName} v3.7.8${config.build?.cache ? ' ϟ' : ''}`), colors.cyan(`building for ${mode}...`)), await unpackBuild(config);
|
|
1954
1951
|
},
|
|
1955
1952
|
dev: async ()=>{
|
|
1956
1953
|
global.__unpack_start_time = performance.now();
|
|
@@ -1961,7 +1958,7 @@ function createUnpack({ cwd = process.cwd(), config: userConfig, callerName = 'u
|
|
|
1961
1958
|
},
|
|
1962
1959
|
clean: ()=>{
|
|
1963
1960
|
let root = userConfig.root || cwd, relativeDir = _context.cachePath, absDir = node_path.resolve(root, relativeDir);
|
|
1964
|
-
node_fs.existsSync(absDir) ? (removeDir(absDir), logger_logger.ready(`cache cleaned: ${colors.dim(relativeDir)}`)) : logger_logger.info(`cache
|
|
1961
|
+
node_fs.existsSync(absDir) ? (removeDir(absDir), logger_logger.ready(`cache cleaned: ${colors.dim(relativeDir)}`)) : logger_logger.info(`no cache found, skipping clean: ${colors.dim(relativeDir)}`);
|
|
1965
1962
|
}
|
|
1966
1963
|
};
|
|
1967
1964
|
}
|
|
@@ -1979,6 +1976,4 @@ async function createChokidar(pathOrGlobs, root = process.cwd(), options) {
|
|
|
1979
1976
|
});
|
|
1980
1977
|
}
|
|
1981
1978
|
var __webpack_exports__CSS_NAMED_EXPORT = !1;
|
|
1982
|
-
import { fileURLToPath as __rspack_fileURLToPath, pathToFileURL } from "node:url";
|
|
1983
|
-
import node_path, { dirname as __rspack_dirname, join, sep } from "node:path";
|
|
1984
1979
|
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 };
|
|
@@ -2,6 +2,6 @@ import type { BundlerConfiguration, UnpackConfig } from '../types';
|
|
|
2
2
|
export declare function applyCacheConfig({ config, unpackConfig, envFilePaths, }: {
|
|
3
3
|
config: BundlerConfiguration;
|
|
4
4
|
unpackConfig: UnpackConfig;
|
|
5
|
-
envFilePaths
|
|
5
|
+
envFilePaths: string[];
|
|
6
6
|
}): Promise<BundlerConfiguration>;
|
|
7
7
|
//# sourceMappingURL=cache.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../src/bundler-config/cache.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cache.d.ts","sourceRoot":"","sources":["../../src/bundler-config/cache.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,YAAY,EAAE,MAAM,WAAW,CAAA;AAoCnE,wBAAsB,gBAAgB,CAAC,EACrC,MAAM,EACN,YAAY,EACZ,YAAY,GACb,EAAE;IACD,MAAM,EAAE,oBAAoB,CAAA;IAC5B,YAAY,EAAE,YAAY,CAAA;IAC1B,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAwBhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bundler-config/plugins/progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bundler-config/plugins/progress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAKvC,qBAAa,wBAAwB;IACnC,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,GAAG,IAAI;CAKvC;AAED,qBAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC7D,WAAW,cAAoB;;IAO/B,KAAK,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,GAAG,IAAI;CAMvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAGrC,KAAK,OAAO,GAAG;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAC,KAAK,CAAA;CACpB,CAAA;AA6BD,wBAAsB,aAAa,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,OAAO,iBA4F3D"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type * as Rspack from '@rspack/core';
|
|
2
2
|
import type { AcceptedPlugin, ProcessOptions } from 'postcss';
|
|
3
|
-
import type { Options as SassOptions } from 'sass-embedded';
|
|
4
3
|
import type { ChunkSplit } from './chunkSplit';
|
|
5
4
|
import type { OxcMinifyPluginOptions } from './oxc';
|
|
6
5
|
import type { UnpackPlugin } from './plugin';
|
|
@@ -77,8 +76,8 @@ export type UnpackConfig = {
|
|
|
77
76
|
};
|
|
78
77
|
postcss?: PostCSSOptions | ((loaderContext: Rspack.LoaderContext) => PostCSSOptions);
|
|
79
78
|
lightningcss?: Rspack.LightningcssLoaderOptions;
|
|
80
|
-
less?:
|
|
81
|
-
sass?:
|
|
79
|
+
less?: any;
|
|
80
|
+
sass?: any;
|
|
82
81
|
};
|
|
83
82
|
resolve?: {
|
|
84
83
|
/**
|
|
@@ -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,MAAM,SAAS,CAAA;AAC7D,OAAO,KAAK,EAAE,
|
|
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,MAAM,S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2
|
"name": "@unpackjs/core",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.8",
|
|
4
4
|
"description": "An Rspack-based build tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -27,7 +27,6 @@
|
|
|
27
27
|
"css-loader": "7.1.2",
|
|
28
28
|
"less-loader": "12.3.0",
|
|
29
29
|
"postcss-loader": "8.2.0",
|
|
30
|
-
"sass-embedded": "1.97.0",
|
|
31
30
|
"sass-loader": "16.0.6",
|
|
32
31
|
"semver": "7.7.3",
|
|
33
32
|
"style-loader": "4.0.0",
|
|
@@ -36,17 +35,16 @@
|
|
|
36
35
|
},
|
|
37
36
|
"dependencies": {
|
|
38
37
|
"@rsdoctor/rspack-plugin": "1.3.16",
|
|
39
|
-
"@rspack/core": "1.7.0-beta.
|
|
38
|
+
"@rspack/core": "1.7.0-beta.1",
|
|
40
39
|
"@rspack/dev-server": "1.1.4",
|
|
41
|
-
"@types/less": "3.0.8",
|
|
42
40
|
"chokidar": "5.0.0",
|
|
43
41
|
"dotenv-expand": "12.0.3",
|
|
44
42
|
"jiti": "2.6.1",
|
|
45
|
-
"oxc-minify": "0.
|
|
43
|
+
"oxc-minify": "0.105.0",
|
|
46
44
|
"portfinder": "1.0.38",
|
|
47
45
|
"postcss": "8.5.6",
|
|
48
46
|
"tinyglobby": "0.2.15",
|
|
49
|
-
"ts-checker-rspack-plugin": "1.2.
|
|
47
|
+
"ts-checker-rspack-plugin": "1.2.3"
|
|
50
48
|
},
|
|
51
49
|
"scripts": {
|
|
52
50
|
"dev": "rslib build --watch",
|