@unpackjs/core 3.3.1 → 3.3.3
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 -20
- package/compiled/launch-editor/index.d.ts +16 -0
- package/compiled/launch-editor/index.js +753 -0
- package/compiled/launch-editor/license +21 -0
- package/compiled/launch-editor/package.json +1 -0
- 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.cjs +90 -53
- package/dist/index.js +61 -51
- package/dist/typedCssModulesLoader.mjs +15 -8
- package/dist-types/bundler-config/bundleAnalyze.d.ts +5 -0
- package/dist-types/bundler-config/bundleAnalyze.d.ts.map +1 -0
- package/dist-types/bundler-config/index.d.ts.map +1 -1
- package/dist-types/bundler-config/typeCheck.d.ts +6 -0
- package/dist-types/bundler-config/typeCheck.d.ts.map +1 -0
- package/dist-types/config.d.ts.map +1 -1
- package/dist-types/prebundleDeps.d.ts.map +1 -1
- package/dist-types/utils.d.ts +1 -0
- package/dist-types/utils.d.ts.map +1 -1
- package/package.json +7 -6
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017-present, Yuxi (Evan) You
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"launch-editor","author":"Evan You","version":"2.11.1","license":"MIT","types":"index.d.ts","type":"commonjs"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
(() => {
|
|
2
2
|
"use strict";
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
|
|
5
|
-
module.exports = __nccwpck_require__(
|
|
4
|
+
253: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5
|
+
module.exports = __nccwpck_require__(991)["default"];
|
|
6
6
|
},
|
|
7
|
-
|
|
7
|
+
991: (__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__(430));
|
|
13
|
+
var _utils = __nccwpck_require__(402);
|
|
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
|
+
402: (__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
|
+
430: (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__(253);
|
|
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
|
+
4556: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
5323
5323
|
"use strict";
|
|
5324
|
-
module.exports = __nccwpck_require__(
|
|
5324
|
+
module.exports = __nccwpck_require__(8722)["default"];
|
|
5325
5325
|
},
|
|
5326
|
-
|
|
5326
|
+
8722: (__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__(111));
|
|
5334
|
+
var _utils = __nccwpck_require__(8659);
|
|
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
|
+
8659: (module, exports, __nccwpck_require__) => {
|
|
5513
5513
|
"use strict";
|
|
5514
5514
|
module = __nccwpck_require__.nmd(module);
|
|
5515
5515
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -6618,7 +6618,7 @@
|
|
|
6618
6618
|
return keywords.has(word);
|
|
6619
6619
|
}
|
|
6620
6620
|
},
|
|
6621
|
-
|
|
6621
|
+
111: (module) => {
|
|
6622
6622
|
"use strict";
|
|
6623
6623
|
module.exports = JSON.parse(
|
|
6624
6624
|
'{"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}',
|
|
@@ -6728,6 +6728,6 @@
|
|
|
6728
6728
|
})();
|
|
6729
6729
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
6730
6730
|
__nccwpck_require__.ab = __dirname + "/";
|
|
6731
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
6731
|
+
var __webpack_exports__ = __nccwpck_require__(4556);
|
|
6732
6732
|
module.exports = __webpack_exports__;
|
|
6733
6733
|
})();
|
|
@@ -4795,19 +4795,19 @@
|
|
|
4795
4795
|
}
|
|
4796
4796
|
});
|
|
4797
4797
|
},
|
|
4798
|
-
|
|
4798
|
+
310: (module, __unused_webpack_exports, __nccwpck_require__) => {
|
|
4799
4799
|
"use strict";
|
|
4800
|
-
const loader = __nccwpck_require__(
|
|
4800
|
+
const loader = __nccwpck_require__(212);
|
|
4801
4801
|
module.exports = loader.default;
|
|
4802
4802
|
},
|
|
4803
|
-
|
|
4803
|
+
212: (__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 _url = _interopRequireDefault(__nccwpck_require__(16));
|
|
4808
4808
|
var _path = _interopRequireDefault(__nccwpck_require__(928));
|
|
4809
|
-
var _options = _interopRequireDefault(__nccwpck_require__(
|
|
4810
|
-
var _utils = __nccwpck_require__(
|
|
4809
|
+
var _options = _interopRequireDefault(__nccwpck_require__(381));
|
|
4810
|
+
var _utils = __nccwpck_require__(365);
|
|
4811
4811
|
function _interopRequireDefault(e) {
|
|
4812
4812
|
return e && e.__esModule ? e : { default: e };
|
|
4813
4813
|
}
|
|
@@ -4917,7 +4917,7 @@
|
|
|
4917
4917
|
}
|
|
4918
4918
|
var _default = (exports["default"] = loader);
|
|
4919
4919
|
},
|
|
4920
|
-
|
|
4920
|
+
365: (__unused_webpack_module, exports, __nccwpck_require__) => {
|
|
4921
4921
|
"use strict";
|
|
4922
4922
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4923
4923
|
exports.errorFactory = errorFactory;
|
|
@@ -5582,7 +5582,7 @@
|
|
|
5582
5582
|
"use strict";
|
|
5583
5583
|
module.exports = require("url");
|
|
5584
5584
|
},
|
|
5585
|
-
|
|
5585
|
+
381: (module) => {
|
|
5586
5586
|
"use strict";
|
|
5587
5587
|
module.exports = JSON.parse(
|
|
5588
5588
|
'{"title":"Sass Loader options","type":"object","properties":{"implementation":{"description":"The implementation of the sass to be used.","link":"https://github.com/webpack-contrib/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-contrib/sass-loader#sassoptions","enum":["legacy","modern","modern-compiler"]},"sassOptions":{"description":"Options for `node-sass` or `sass` (`Dart Sass`) implementation.","link":"https://github.com/webpack-contrib/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-contrib/sass-loader#additionaldata","anyOf":[{"type":"string"},{"instanceof":"Function"}]},"sourceMap":{"description":"Enables/Disables generation of source maps.","link":"https://github.com/webpack-contrib/sass-loader#sourcemap","type":"boolean"},"webpackImporter":{"description":"Enables/Disables default `webpack` importer.","link":"https://github.com/webpack-contrib/sass-loader#webpackimporter","type":"boolean"},"warnRuleAsWarning":{"description":"Treats the \'@warn\' rule as a webpack warning.","link":"https://github.com/webpack-contrib/sass-loader#warnruleaswarning","type":"boolean"}},"additionalProperties":false}',
|
|
@@ -5612,6 +5612,6 @@
|
|
|
5612
5612
|
}
|
|
5613
5613
|
if (typeof __nccwpck_require__ !== "undefined")
|
|
5614
5614
|
__nccwpck_require__.ab = __dirname + "/";
|
|
5615
|
-
var __webpack_exports__ = __nccwpck_require__(
|
|
5615
|
+
var __webpack_exports__ = __nccwpck_require__(310);
|
|
5616
5616
|
module.exports = __webpack_exports__;
|
|
5617
5617
|
})();
|
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const __rslib_import_meta_url__ = 'undefined' == typeof document ? new (require('url'.replace('', ''))).URL('file:' + __filename).href : document.currentScript && document.currentScript.src || new URL('main.js', document.baseURI).href;
|
|
3
3
|
var __webpack_modules__ = {
|
|
4
|
-
"compiled/
|
|
5
|
-
module.exports = require("../compiled/
|
|
4
|
+
"compiled/launch-editor": function(module) {
|
|
5
|
+
module.exports = require("../compiled/launch-editor/index.js");
|
|
6
6
|
},
|
|
7
7
|
"compiled/webpack-merge": function(module) {
|
|
8
8
|
module.exports = require("../compiled/webpack-merge/index.js");
|
|
9
9
|
},
|
|
10
|
+
"compiled/webpack-bundle-analyzer": function(module) {
|
|
11
|
+
module.exports = import("../compiled/webpack-bundle-analyzer/index.js").then(function(module) {
|
|
12
|
+
return module;
|
|
13
|
+
});
|
|
14
|
+
},
|
|
15
|
+
cors: function(module) {
|
|
16
|
+
module.exports = import("cors").then(function(module) {
|
|
17
|
+
return module;
|
|
18
|
+
});
|
|
19
|
+
},
|
|
20
|
+
express: function(module) {
|
|
21
|
+
module.exports = import("express").then(function(module) {
|
|
22
|
+
return module;
|
|
23
|
+
});
|
|
24
|
+
},
|
|
25
|
+
jiti: function(module) {
|
|
26
|
+
module.exports = import("jiti").then(function(module) {
|
|
27
|
+
return module;
|
|
28
|
+
});
|
|
29
|
+
},
|
|
10
30
|
"node:readline": function(module) {
|
|
11
31
|
module.exports = import("node:readline").then(function(module) {
|
|
12
32
|
return module;
|
|
@@ -16,6 +36,11 @@ var __webpack_modules__ = {
|
|
|
16
36
|
module.exports = import("oxc-minify").then(function(module) {
|
|
17
37
|
return module;
|
|
18
38
|
});
|
|
39
|
+
},
|
|
40
|
+
"ts-checker-rspack-plugin": function(module) {
|
|
41
|
+
module.exports = import("ts-checker-rspack-plugin").then(function(module) {
|
|
42
|
+
return module;
|
|
43
|
+
});
|
|
19
44
|
}
|
|
20
45
|
}, __webpack_module_cache__ = {};
|
|
21
46
|
function __webpack_require__(moduleId) {
|
|
@@ -61,6 +86,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
61
86
|
isFunction: ()=>isFunction,
|
|
62
87
|
debounce: ()=>debounce,
|
|
63
88
|
isDev: ()=>isDev,
|
|
89
|
+
launchEditor: ()=>launchEditor,
|
|
64
90
|
isNodeVersionAtLeast: ()=>isNodeVersionAtLeast,
|
|
65
91
|
setNodeEnv: ()=>setNodeEnv,
|
|
66
92
|
getCompiledPkgPath: ()=>getCompiledPkgPath,
|
|
@@ -99,7 +125,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
99
125
|
isWin: ()=>isWin,
|
|
100
126
|
pathExists: ()=>pathExists,
|
|
101
127
|
isPlainObject: ()=>isPlainObject,
|
|
102
|
-
CSS_NAMED_EXPORT: ()
|
|
128
|
+
CSS_NAMED_EXPORT: ()=>CSS_NAMED_EXPORT,
|
|
103
129
|
DEV_DEFAULT_FILENAME: ()=>DEV_DEFAULT_FILENAME,
|
|
104
130
|
cleanUpBeforeRestart: ()=>cleanUpBeforeRestart,
|
|
105
131
|
isUndefined: ()=>isUndefined,
|
|
@@ -152,7 +178,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
152
178
|
jsAsync: 'js/async/[name].[contenthash:8].js',
|
|
153
179
|
css: 'css/[name].[contenthash:8].css',
|
|
154
180
|
cssAsync: 'css/async/[name].[contenthash:8].css'
|
|
155
|
-
}, EXPORT_LOCALS_CONVENTION = 'camel-case-only', TEMP_DIR = 'node_modules/.unpack', NODE_MODULES_REGEX = /[\\/]node_modules[\\/]/, THREAD_OPTIONS = {
|
|
181
|
+
}, EXPORT_LOCALS_CONVENTION = 'camel-case-only', TEMP_DIR = 'node_modules/.unpack', NODE_MODULES_REGEX = /[\\/]node_modules[\\/]/, CSS_NAMED_EXPORT = !1, THREAD_OPTIONS = {
|
|
156
182
|
workers: 2
|
|
157
183
|
}, DEFAULT_DEV_HOST = '0.0.0.0', TEMPLATE_CONTENT = ({ title = '', headTag = '', mountId = '' })=>`<!DOCTYPE html>
|
|
158
184
|
<html lang="en">
|
|
@@ -170,7 +196,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
170
196
|
<div id="${mountId}"></div>
|
|
171
197
|
</body>
|
|
172
198
|
|
|
173
|
-
</html>`, { merge } = __webpack_require__("compiled/webpack-merge"), getNodeEnv = ()=>process.env.NODE_ENV, setNodeEnv = (env)=>{
|
|
199
|
+
</html>`, { merge } = __webpack_require__("compiled/webpack-merge"), launchEditor = __webpack_require__("compiled/launch-editor"), getNodeEnv = ()=>process.env.NODE_ENV, setNodeEnv = (env)=>{
|
|
174
200
|
process.env.NODE_ENV = env;
|
|
175
201
|
}, setDevServer = (isDevServer)=>{
|
|
176
202
|
process.env.DEV_SERVER = isDevServer ? 'true' : 'false';
|
|
@@ -404,7 +430,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
404
430
|
for (let shortcut of shortcuts)if (input === shortcut.key) return void shortcut.action();
|
|
405
431
|
}), addRestartCleaner(()=>rl.close());
|
|
406
432
|
}
|
|
407
|
-
let external_node_url_namespaceObject = require("node:url")
|
|
433
|
+
let external_node_url_namespaceObject = require("node:url");
|
|
408
434
|
async function loadConfig({ cliOptions, command }) {
|
|
409
435
|
'build' === command ? setNodeEnv((null == cliOptions ? void 0 : cliOptions.watch) ? 'development' : 'production') : (setNodeEnv('development'), setDevServer(!0));
|
|
410
436
|
let root = (null == cliOptions ? void 0 : cliOptions.root) ? external_node_path_default().resolve(cliOptions.root) : process.cwd(), configFilePath = resolveConfigPath(root, null == cliOptions ? void 0 : cliOptions.config), configExport = {};
|
|
@@ -420,7 +446,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
420
446
|
} else {
|
|
421
447
|
logger_logger.debug('loading config file with jiti:', colors.dim(configFilePath));
|
|
422
448
|
try {
|
|
423
|
-
let
|
|
449
|
+
let { createJiti } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "jiti")), jiti = createJiti(__filename, {
|
|
424
450
|
moduleCache: !1,
|
|
425
451
|
interopDefault: !0,
|
|
426
452
|
nativeModules: [
|
|
@@ -517,7 +543,13 @@ for(var __webpack_i__ in (()=>{
|
|
|
517
543
|
plugin[hook] && pluginMap.set(plugin.name, plugin);
|
|
518
544
|
}), Array.from(pluginMap.values());
|
|
519
545
|
}
|
|
520
|
-
|
|
546
|
+
async function applyBundleAnalyzeConfig({ config }) {
|
|
547
|
+
var _config_plugins;
|
|
548
|
+
let { default: { BundleAnalyzerPlugin } } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "compiled/webpack-bundle-analyzer"));
|
|
549
|
+
return null == (_config_plugins = config.plugins) || _config_plugins.push(new BundleAnalyzerPlugin({
|
|
550
|
+
analyzerPort: 'auto'
|
|
551
|
+
})), config;
|
|
552
|
+
}
|
|
521
553
|
async function getBuildDependencies(root, userBuildDependencies, envFilePaths) {
|
|
522
554
|
let rootPackageJson = external_node_path_default().join(root, 'package.json'), browserslistConfig = external_node_path_default().join(root, '.browserslistrc'), tsconfigPath = external_node_path_default().join(root, 'tsconfig.json'), buildDependencies = {};
|
|
523
555
|
await isFileExists(rootPackageJson) && (buildDependencies.packageJson = [
|
|
@@ -714,7 +746,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
714
746
|
constructor(options){
|
|
715
747
|
_define_property(this, "dtsCreator", void 0), _define_property(this, "useIncremental", !1), _define_property(this, "globPattern", 'src/**/*.{css,less,scss}'), _define_property(this, "userOptions", void 0), this.userOptions = options, this.dtsCreator = new DtsCreator({
|
|
716
748
|
camelCase: !0,
|
|
717
|
-
namedExports:
|
|
749
|
+
namedExports: CSS_NAMED_EXPORT
|
|
718
750
|
});
|
|
719
751
|
}
|
|
720
752
|
}
|
|
@@ -731,7 +763,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
731
763
|
apply(compiler) {
|
|
732
764
|
let meta = JSON.stringify({
|
|
733
765
|
name: jsMinify_PLUGIN_NAME,
|
|
734
|
-
version: "3.3.
|
|
766
|
+
version: "3.3.3",
|
|
735
767
|
options: this.minifyOptions
|
|
736
768
|
});
|
|
737
769
|
compiler.hooks.compilation.tap(jsMinify_PLUGIN_NAME, (compilation)=>{
|
|
@@ -1021,9 +1053,37 @@ for(var __webpack_i__ in (()=>{
|
|
|
1021
1053
|
}(this, "progressBar", new ProgressBar());
|
|
1022
1054
|
}
|
|
1023
1055
|
}
|
|
1024
|
-
|
|
1056
|
+
async function applyTypeCheckConfig({ config, unpackConfig }) {
|
|
1057
|
+
var _config_plugins;
|
|
1058
|
+
let { TsCheckerRspackPlugin } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "ts-checker-rspack-plugin")), tsconfigPath = external_node_path_default().resolve(unpackConfig.root, 'tsconfig.json');
|
|
1059
|
+
return null == (_config_plugins = config.plugins) || _config_plugins.push(new TsCheckerRspackPlugin({
|
|
1060
|
+
typescript: {
|
|
1061
|
+
mode: 'readonly',
|
|
1062
|
+
memoryLimit: 8192,
|
|
1063
|
+
configFile: tsconfigPath,
|
|
1064
|
+
typescriptPath: require.resolve("typescript", {
|
|
1065
|
+
paths: [
|
|
1066
|
+
unpackConfig.root
|
|
1067
|
+
]
|
|
1068
|
+
})
|
|
1069
|
+
},
|
|
1070
|
+
issue: {
|
|
1071
|
+
exclude: [
|
|
1072
|
+
({ file = '' })=>NODE_MODULES_REGEX.test(file)
|
|
1073
|
+
]
|
|
1074
|
+
},
|
|
1075
|
+
logger: {
|
|
1076
|
+
log (message) {
|
|
1077
|
+
message.includes('Found') && console.log(message.split(' in ')[0]);
|
|
1078
|
+
},
|
|
1079
|
+
error (message) {
|
|
1080
|
+
message.includes('RpcExitError') || message.includes('out of memory') || console.log(message.replace(/ERROR/g, 'Type Error'));
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
})), config;
|
|
1084
|
+
}
|
|
1025
1085
|
async function getBundlerConfig(originalUnpackConfig) {
|
|
1026
|
-
var _unpackConfig_build, _unpackConfig_build1, _unpackConfig_build2, _unpackConfig_build3, _unpackConfig_build4, _unpackConfig_build5, _unpackConfig_build6, _unpackConfig_html, _unpackConfig_html1, _unpackConfig_html2, _unpackConfig_html3, _unpackConfig_html4, _unpackConfig_html5, _unpackConfig_html6, _unpackConfig_html7, _unpackConfig_performance,
|
|
1086
|
+
var _unpackConfig_build, _unpackConfig_build1, _unpackConfig_build2, _unpackConfig_build3, _unpackConfig_build4, _unpackConfig_build5, _unpackConfig_build6, _unpackConfig_html, _unpackConfig_html1, _unpackConfig_html2, _unpackConfig_html3, _unpackConfig_html4, _unpackConfig_html5, _unpackConfig_html6, _unpackConfig_html7, _unpackConfig_performance, _unpackConfig_build7, _unpackConfig_resolve, _unpackConfig_resolve1, _unpackConfig_dev, _unpackConfig_build8, _unpackConfig_experiments, _unpackConfig_build9, _unpackConfig_dev1, _unpackConfig_performance1;
|
|
1027
1087
|
let circularCount, { plugins, bundlerConfig, ...rest } = originalUnpackConfig;
|
|
1028
1088
|
for (let plugin of getNormalizedPluginsByHook('config', plugins))rest = await plugin.config(rest, {
|
|
1029
1089
|
...originalUnpackConfig._context,
|
|
@@ -1153,41 +1213,13 @@ for(var __webpack_i__ in (()=>{
|
|
|
1153
1213
|
'main'
|
|
1154
1214
|
]
|
|
1155
1215
|
}),
|
|
1156
|
-
(null == (_unpackConfig_performance = unpackConfig.performance) ? void 0 : _unpackConfig_performance.
|
|
1157
|
-
analyzerPort: 'auto'
|
|
1158
|
-
}),
|
|
1159
|
-
(null == (_unpackConfig_performance1 = unpackConfig.performance) ? void 0 : _unpackConfig_performance1.removeMomentLocale) && new core_namespaceObject.rspack.IgnorePlugin({
|
|
1216
|
+
(null == (_unpackConfig_performance = unpackConfig.performance) ? void 0 : _unpackConfig_performance.removeMomentLocale) && new core_namespaceObject.rspack.IgnorePlugin({
|
|
1160
1217
|
resourceRegExp: /^\.\/locale$/,
|
|
1161
1218
|
contextRegExp: /moment$/
|
|
1162
1219
|
}),
|
|
1163
1220
|
(null == (_unpackConfig_build7 = unpackConfig.build) ? void 0 : _unpackConfig_build7.copy) && new core_namespaceObject.rspack.CopyRspackPlugin({
|
|
1164
1221
|
patterns: unpackConfig.build.copy
|
|
1165
1222
|
}),
|
|
1166
|
-
unpackConfig.typeCheck && isDev() && isTs && new external_ts_checker_rspack_plugin_namespaceObject.TsCheckerRspackPlugin({
|
|
1167
|
-
typescript: {
|
|
1168
|
-
mode: 'readonly',
|
|
1169
|
-
memoryLimit: 8192,
|
|
1170
|
-
configFile: tsconfigPath,
|
|
1171
|
-
typescriptPath: require.resolve("typescript", {
|
|
1172
|
-
paths: [
|
|
1173
|
-
unpackConfig.root
|
|
1174
|
-
]
|
|
1175
|
-
})
|
|
1176
|
-
},
|
|
1177
|
-
issue: {
|
|
1178
|
-
exclude: [
|
|
1179
|
-
({ file = '' })=>NODE_MODULES_REGEX.test(file)
|
|
1180
|
-
]
|
|
1181
|
-
},
|
|
1182
|
-
logger: {
|
|
1183
|
-
log (message) {
|
|
1184
|
-
message.includes('Found') && console.log(message.split(' in ')[0]);
|
|
1185
|
-
},
|
|
1186
|
-
error (message) {
|
|
1187
|
-
message.includes('RpcExitError') || message.includes('out of memory') || console.log(message.replace(/ERROR/g, 'Type Error'));
|
|
1188
|
-
}
|
|
1189
|
-
}
|
|
1190
|
-
}),
|
|
1191
1223
|
new ProgressPlugin(),
|
|
1192
1224
|
unpackConfig.lint && new OxlintPlugin(),
|
|
1193
1225
|
unpackConfig.detectCircular && (circularCount = 0, new core_namespaceObject.rspack.CircularDependencyRspackPlugin({
|
|
@@ -1334,7 +1366,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
1334
1366
|
'parser',
|
|
1335
1367
|
'css/module'
|
|
1336
1368
|
], {
|
|
1337
|
-
namedExports:
|
|
1369
|
+
namedExports: CSS_NAMED_EXPORT
|
|
1338
1370
|
}), setValueByPath(config, [
|
|
1339
1371
|
'module',
|
|
1340
1372
|
'generator',
|
|
@@ -1487,7 +1519,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
1487
1519
|
})(),
|
|
1488
1520
|
localIdentName: !1 !== modules && (modules.localIdentName || CSS_MODULES_LOCAL_IDENT_NAME),
|
|
1489
1521
|
exportLocalsConvention: EXPORT_LOCALS_CONVENTION,
|
|
1490
|
-
namedExport:
|
|
1522
|
+
namedExport: CSS_NAMED_EXPORT
|
|
1491
1523
|
},
|
|
1492
1524
|
sourceMap
|
|
1493
1525
|
}
|
|
@@ -1581,6 +1613,11 @@ for(var __webpack_i__ in (()=>{
|
|
|
1581
1613
|
config,
|
|
1582
1614
|
unpackConfig,
|
|
1583
1615
|
envFilePaths
|
|
1616
|
+
})), (null == (_unpackConfig_performance1 = unpackConfig.performance) ? void 0 : _unpackConfig_performance1.bundleAnalyze) && isProd() && (config = await applyBundleAnalyzeConfig({
|
|
1617
|
+
config
|
|
1618
|
+
})), unpackConfig.typeCheck && isDev() && isTs && (config = await applyTypeCheckConfig({
|
|
1619
|
+
config,
|
|
1620
|
+
unpackConfig
|
|
1584
1621
|
})), getNormalizedPluginsByHook('bundlerConfig', unpackConfig.plugins)))config = await plugin.bundlerConfig(config, {
|
|
1585
1622
|
...unpackConfig._context,
|
|
1586
1623
|
unpackConfig,
|
|
@@ -1667,10 +1704,6 @@ for(var __webpack_i__ in (()=>{
|
|
|
1667
1704
|
});
|
|
1668
1705
|
});
|
|
1669
1706
|
}
|
|
1670
|
-
let external_cors_namespaceObject = require("cors");
|
|
1671
|
-
var external_cors_default = __webpack_require__.n(external_cors_namespaceObject);
|
|
1672
|
-
let external_express_namespaceObject = require("express");
|
|
1673
|
-
var external_express_default = __webpack_require__.n(external_express_namespaceObject);
|
|
1674
1707
|
let getExternalLibraryName = (pkgName)=>({
|
|
1675
1708
|
react: 'React',
|
|
1676
1709
|
'react-dom': 'ReactDOM',
|
|
@@ -1839,8 +1872,11 @@ for(var __webpack_i__ in (()=>{
|
|
|
1839
1872
|
failedDepsCachePath1 = failedDepsCachePath2, cache = failedCache, cacheDir = external_node_path_default().dirname(failedDepsCachePath1), external_node_fs_default().existsSync(cacheDir) || external_node_fs_default().mkdirSync(cacheDir, {
|
|
1840
1873
|
recursive: !0
|
|
1841
1874
|
}), external_node_fs_default().writeFileSync(failedDepsCachePath1, JSON.stringify(cache, null, 2), 'utf-8'), failedDeps[0] && logger_logger.warn(`something went wrong while optimizing "${colors.bold(failedDeps.join(', '))}"`);
|
|
1842
|
-
let cachePath = external_node_path_default().resolve(root, TEMP_DIR, 'umd'),
|
|
1843
|
-
|
|
1875
|
+
let cachePath = external_node_path_default().resolve(root, TEMP_DIR, 'umd'), [{ default: express }, { default: cors }] = await Promise.all([
|
|
1876
|
+
Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "express")),
|
|
1877
|
+
Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "cors"))
|
|
1878
|
+
]), app = express();
|
|
1879
|
+
app.use(cors()), app.use("/umd", express.static(cachePath));
|
|
1844
1880
|
let port = await getPort(), staticServer = app.listen(port, ()=>{});
|
|
1845
1881
|
addRestartCleaner(()=>new Promise((resolve)=>staticServer.close(()=>resolve())));
|
|
1846
1882
|
let externals1 = {}, jsAssets = [], cssAssets = [], preJsAssets = [];
|
|
@@ -1927,7 +1963,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
1927
1963
|
(null == (_req_headers_accept = req.headers.accept) ? void 0 : _req_headers_accept.includes('html')) && (req.url = '/index.html'), next();
|
|
1928
1964
|
}), middlewares.unshift(core_namespaceObject.experiments.lazyCompilationMiddleware(compiler)), middlewares);
|
|
1929
1965
|
let server = new dev_server_namespaceObject.RspackDevServer(devServerOptions, compiler);
|
|
1930
|
-
await server.start(), logger_logger.greet(` ${colors.green(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.3.
|
|
1966
|
+
await server.start(), logger_logger.greet(` ${colors.green(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.3.3`)} ${colors.dim('ready in')} ${colors.bold(Math.ceil(performance.now() - global.__unpack_start_time))} ms\n`), printAddressUrls(port, null == (_unpackConfig_server2 = unpackConfig.server) ? void 0 : _unpackConfig_server2.host), addRestartCleaner(()=>server.stop(), ()=>new Promise((resolve)=>compiler.close(()=>resolve())));
|
|
1931
1967
|
let open = null == (_unpackConfig_server3 = unpackConfig.server) ? void 0 : _unpackConfig_server3.open, url = isString(open) ? open : `http://localhost:${port}`;
|
|
1932
1968
|
open && openBrowser(url), setupCliShortcuts({
|
|
1933
1969
|
openPage: async ()=>{
|
|
@@ -2001,7 +2037,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
2001
2037
|
...mergeConfig(defaultConfig, config),
|
|
2002
2038
|
_context: {
|
|
2003
2039
|
callerName,
|
|
2004
|
-
version: "3.3.
|
|
2040
|
+
version: "3.3.3"
|
|
2005
2041
|
}
|
|
2006
2042
|
};
|
|
2007
2043
|
};
|
|
@@ -2009,7 +2045,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
2009
2045
|
build: async ({ watch } = {})=>{
|
|
2010
2046
|
setNodeEnv(watch ? 'development' : 'production');
|
|
2011
2047
|
let config = resolveConfig();
|
|
2012
|
-
console.log(colors.rainbow(`${callerName} v3.3.
|
|
2048
|
+
console.log(colors.rainbow(`${callerName} v3.3.3`), colors.green(`building for ${getNodeEnv()}...`)), await unpackBuild(config);
|
|
2013
2049
|
},
|
|
2014
2050
|
dev: async ()=>{
|
|
2015
2051
|
global.__unpack_start_time = performance.now(), setNodeEnv('development'), setDevServer(!0);
|
|
@@ -2036,7 +2072,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
2036
2072
|
...options
|
|
2037
2073
|
});
|
|
2038
2074
|
}
|
|
2039
|
-
})(), exports.CSS_MODULES_LOCAL_IDENT_NAME = __webpack_exports__.CSS_MODULES_LOCAL_IDENT_NAME, exports.CSS_MODULES_REGEX = __webpack_exports__.CSS_MODULES_REGEX, exports.CSS_NAMED_EXPORT = __webpack_exports__.CSS_NAMED_EXPORT, exports.DEFAULT_DEV_HOST = __webpack_exports__.DEFAULT_DEV_HOST, exports.DEV_DEFAULT_FILENAME = __webpack_exports__.DEV_DEFAULT_FILENAME, exports.EXPORT_LOCALS_CONVENTION = __webpack_exports__.EXPORT_LOCALS_CONVENTION, exports.LogColor = __webpack_exports__.LogColor, exports.NODE_MODULES_REGEX = __webpack_exports__.NODE_MODULES_REGEX, exports.PROD_DEFAULT_FILENAME = __webpack_exports__.PROD_DEFAULT_FILENAME, exports.TEMPLATE_CONTENT = __webpack_exports__.TEMPLATE_CONTENT, exports.TEMP_DIR = __webpack_exports__.TEMP_DIR, exports.THREAD_OPTIONS = __webpack_exports__.THREAD_OPTIONS, exports.addRestartCleaner = __webpack_exports__.addRestartCleaner, exports.cleanUpBeforeRestart = __webpack_exports__.cleanUpBeforeRestart, exports.clearLine = __webpack_exports__.clearLine, exports.colors = __webpack_exports__.colors, exports.createChokidar = __webpack_exports__.createChokidar, exports.createUnpack = __webpack_exports__.createUnpack, exports.currentDevUnpackConfig = __webpack_exports__.currentDevUnpackConfig, exports.debounce = __webpack_exports__.debounce, exports.defineConfig = __webpack_exports__.defineConfig, exports.esVersionToBrowserslist = __webpack_exports__.esVersionToBrowserslist, exports.findExists = __webpack_exports__.findExists, exports.getAddressUrls = __webpack_exports__.getAddressUrls, exports.getCompiledPkgPath = __webpack_exports__.getCompiledPkgPath, exports.getIpv4Interfaces = __webpack_exports__.getIpv4Interfaces, exports.getNodeEnv = __webpack_exports__.getNodeEnv, exports.getPathInJs = __webpack_exports__.getPathInJs, exports.getPort = __webpack_exports__.getPort, exports.getTime = __webpack_exports__.getTime, exports.getUserDepPath = __webpack_exports__.getUserDepPath, exports.getUserDepVersion = __webpack_exports__.getUserDepVersion, exports.getValueByPath = __webpack_exports__.getValueByPath, exports.isBoolean = __webpack_exports__.isBoolean, exports.isCI = __webpack_exports__.isCI, exports.isCSSModules = __webpack_exports__.isCSSModules, exports.isDebug = __webpack_exports__.isDebug, exports.isDev = __webpack_exports__.isDev, exports.isDevServer = __webpack_exports__.isDevServer, exports.isEmptyDir = __webpack_exports__.isEmptyDir, exports.isFileExists = __webpack_exports__.isFileExists, exports.isFileSync = __webpack_exports__.isFileSync, exports.isFunction = __webpack_exports__.isFunction, exports.isNodeVersionAtLeast = __webpack_exports__.isNodeVersionAtLeast, exports.isObject = __webpack_exports__.isObject, exports.isPlainObject = __webpack_exports__.isPlainObject, exports.isProd = __webpack_exports__.isProd, exports.isRegExp = __webpack_exports__.isRegExp, exports.isString = __webpack_exports__.isString, exports.isUndefined = __webpack_exports__.isUndefined, exports.isWatch = __webpack_exports__.isWatch, exports.isWin = __webpack_exports__.isWin, exports.loadConfig = __webpack_exports__.loadConfig, exports.logUpdate = __webpack_exports__.logUpdate, exports.logger = __webpack_exports__.logger, exports.mergeConfig = __webpack_exports__.mergeConfig, exports.pathExists = __webpack_exports__.pathExists, exports.prettyTime = __webpack_exports__.prettyTime, exports.removeDir = __webpack_exports__.removeDir, exports.resolveConfigPath = __webpack_exports__.resolveConfigPath, exports.rspack = __webpack_exports__.rspack, exports.setCurrentDevUnpackConfig = __webpack_exports__.setCurrentDevUnpackConfig, exports.setDevServer = __webpack_exports__.setDevServer, exports.setNodeEnv = __webpack_exports__.setNodeEnv, exports.setValueByPath = __webpack_exports__.setValueByPath, exports.setupCliShortcuts = __webpack_exports__.setupCliShortcuts, exports.trackPerformance = __webpack_exports__.trackPerformance, __webpack_exports__)-1 === [
|
|
2075
|
+
})(), exports.CSS_MODULES_LOCAL_IDENT_NAME = __webpack_exports__.CSS_MODULES_LOCAL_IDENT_NAME, exports.CSS_MODULES_REGEX = __webpack_exports__.CSS_MODULES_REGEX, exports.CSS_NAMED_EXPORT = __webpack_exports__.CSS_NAMED_EXPORT, exports.DEFAULT_DEV_HOST = __webpack_exports__.DEFAULT_DEV_HOST, exports.DEV_DEFAULT_FILENAME = __webpack_exports__.DEV_DEFAULT_FILENAME, exports.EXPORT_LOCALS_CONVENTION = __webpack_exports__.EXPORT_LOCALS_CONVENTION, exports.LogColor = __webpack_exports__.LogColor, exports.NODE_MODULES_REGEX = __webpack_exports__.NODE_MODULES_REGEX, exports.PROD_DEFAULT_FILENAME = __webpack_exports__.PROD_DEFAULT_FILENAME, exports.TEMPLATE_CONTENT = __webpack_exports__.TEMPLATE_CONTENT, exports.TEMP_DIR = __webpack_exports__.TEMP_DIR, exports.THREAD_OPTIONS = __webpack_exports__.THREAD_OPTIONS, exports.addRestartCleaner = __webpack_exports__.addRestartCleaner, exports.cleanUpBeforeRestart = __webpack_exports__.cleanUpBeforeRestart, exports.clearLine = __webpack_exports__.clearLine, exports.colors = __webpack_exports__.colors, exports.createChokidar = __webpack_exports__.createChokidar, exports.createUnpack = __webpack_exports__.createUnpack, exports.currentDevUnpackConfig = __webpack_exports__.currentDevUnpackConfig, exports.debounce = __webpack_exports__.debounce, exports.defineConfig = __webpack_exports__.defineConfig, exports.esVersionToBrowserslist = __webpack_exports__.esVersionToBrowserslist, exports.findExists = __webpack_exports__.findExists, exports.getAddressUrls = __webpack_exports__.getAddressUrls, exports.getCompiledPkgPath = __webpack_exports__.getCompiledPkgPath, exports.getIpv4Interfaces = __webpack_exports__.getIpv4Interfaces, exports.getNodeEnv = __webpack_exports__.getNodeEnv, exports.getPathInJs = __webpack_exports__.getPathInJs, exports.getPort = __webpack_exports__.getPort, exports.getTime = __webpack_exports__.getTime, exports.getUserDepPath = __webpack_exports__.getUserDepPath, exports.getUserDepVersion = __webpack_exports__.getUserDepVersion, exports.getValueByPath = __webpack_exports__.getValueByPath, exports.isBoolean = __webpack_exports__.isBoolean, exports.isCI = __webpack_exports__.isCI, exports.isCSSModules = __webpack_exports__.isCSSModules, exports.isDebug = __webpack_exports__.isDebug, exports.isDev = __webpack_exports__.isDev, exports.isDevServer = __webpack_exports__.isDevServer, exports.isEmptyDir = __webpack_exports__.isEmptyDir, exports.isFileExists = __webpack_exports__.isFileExists, exports.isFileSync = __webpack_exports__.isFileSync, exports.isFunction = __webpack_exports__.isFunction, exports.isNodeVersionAtLeast = __webpack_exports__.isNodeVersionAtLeast, exports.isObject = __webpack_exports__.isObject, exports.isPlainObject = __webpack_exports__.isPlainObject, exports.isProd = __webpack_exports__.isProd, exports.isRegExp = __webpack_exports__.isRegExp, exports.isString = __webpack_exports__.isString, exports.isUndefined = __webpack_exports__.isUndefined, exports.isWatch = __webpack_exports__.isWatch, exports.isWin = __webpack_exports__.isWin, exports.launchEditor = __webpack_exports__.launchEditor, exports.loadConfig = __webpack_exports__.loadConfig, exports.logUpdate = __webpack_exports__.logUpdate, exports.logger = __webpack_exports__.logger, exports.mergeConfig = __webpack_exports__.mergeConfig, exports.pathExists = __webpack_exports__.pathExists, exports.prettyTime = __webpack_exports__.prettyTime, exports.removeDir = __webpack_exports__.removeDir, exports.resolveConfigPath = __webpack_exports__.resolveConfigPath, exports.rspack = __webpack_exports__.rspack, exports.setCurrentDevUnpackConfig = __webpack_exports__.setCurrentDevUnpackConfig, exports.setDevServer = __webpack_exports__.setDevServer, exports.setNodeEnv = __webpack_exports__.setNodeEnv, exports.setValueByPath = __webpack_exports__.setValueByPath, exports.setupCliShortcuts = __webpack_exports__.setupCliShortcuts, exports.trackPerformance = __webpack_exports__.trackPerformance, __webpack_exports__)-1 === [
|
|
2040
2076
|
"CSS_MODULES_LOCAL_IDENT_NAME",
|
|
2041
2077
|
"CSS_MODULES_REGEX",
|
|
2042
2078
|
"CSS_NAMED_EXPORT",
|
|
@@ -2089,6 +2125,7 @@ for(var __webpack_i__ in (()=>{
|
|
|
2089
2125
|
"isUndefined",
|
|
2090
2126
|
"isWatch",
|
|
2091
2127
|
"isWin",
|
|
2128
|
+
"launchEditor",
|
|
2092
2129
|
"loadConfig",
|
|
2093
2130
|
"logUpdate",
|
|
2094
2131
|
"logger",
|