@unpackjs/core 2.3.6 → 2.3.7
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/dist/bundler-config/jsMinify.cjs +1 -1
- package/dist/bundler-config/jsMinify.js +1 -1
- package/dist/bundler-config/progress/helpers.d.ts.map +1 -1
- package/dist/createUnpack.cjs +2 -2
- package/dist/createUnpack.js +2 -2
- package/dist/run/dev.cjs +1 -1
- package/dist/run/dev.js +1 -1
- package/dist/typed-css-modules/plugin.cjs +1 -1
- package/dist/typed-css-modules/plugin.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/bundler-config/progress/helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,MAAM,cAAc,CAAA;AA4C3C,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/bundler-config/progress/helpers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,MAAM,cAAc,CAAA;AA4C3C,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,IAAI,EAAE,MAAM,QAclE;AAED,wBAAsB,WAAW,CAAC,QAAQ,EAAE,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,iBA4D/E"}
|
package/dist/createUnpack.cjs
CHANGED
|
@@ -68,7 +68,7 @@ function createUnpack({ cwd = process.cwd(), config, callerName = 'unpack' }) {
|
|
|
68
68
|
};
|
|
69
69
|
const _context = {
|
|
70
70
|
callerName,
|
|
71
|
-
version: "2.3.
|
|
71
|
+
version: "2.3.7"
|
|
72
72
|
};
|
|
73
73
|
let { plugins, bundlerConfig, ...rest } = (0, external_utils_cjs_namespaceObject.mergeConfig)(defaultConfig, config);
|
|
74
74
|
for (const plugin of (0, external_plugin_cjs_namespaceObject.getNormalizedPluginsByHook)('config', plugins))rest = await plugin.config(rest, {
|
|
@@ -85,7 +85,7 @@ function createUnpack({ cwd = process.cwd(), config, callerName = 'unpack' }) {
|
|
|
85
85
|
return {
|
|
86
86
|
build: async ({ watch } = {})=>{
|
|
87
87
|
(0, external_utils_cjs_namespaceObject.setNodeEnv)(watch ? 'development' : 'production');
|
|
88
|
-
console.log(external_colors_cjs_namespaceObject.colors.rainbow(`${callerName} v2.3.
|
|
88
|
+
console.log(external_colors_cjs_namespaceObject.colors.rainbow(`${callerName} v2.3.7`), external_colors_cjs_namespaceObject.colors.green(`building for ${watch ? 'development' : 'production'}...`));
|
|
89
89
|
const config = await resolveConfig();
|
|
90
90
|
(0, index_cjs_namespaceObject.unpackBuild)(config);
|
|
91
91
|
},
|
package/dist/createUnpack.js
CHANGED
|
@@ -42,7 +42,7 @@ function createUnpack({ cwd = process.cwd(), config, callerName = 'unpack' }) {
|
|
|
42
42
|
};
|
|
43
43
|
const _context = {
|
|
44
44
|
callerName,
|
|
45
|
-
version: "2.3.
|
|
45
|
+
version: "2.3.7"
|
|
46
46
|
};
|
|
47
47
|
let { plugins, bundlerConfig, ...rest } = mergeConfig(defaultConfig, config);
|
|
48
48
|
for (const plugin of getNormalizedPluginsByHook('config', plugins))rest = await plugin.config(rest, {
|
|
@@ -59,7 +59,7 @@ function createUnpack({ cwd = process.cwd(), config, callerName = 'unpack' }) {
|
|
|
59
59
|
return {
|
|
60
60
|
build: async ({ watch } = {})=>{
|
|
61
61
|
setNodeEnv(watch ? 'development' : 'production');
|
|
62
|
-
console.log(colors.rainbow(`${callerName} v2.3.
|
|
62
|
+
console.log(colors.rainbow(`${callerName} v2.3.7`), colors.green(`building for ${watch ? 'development' : 'production'}...`));
|
|
63
63
|
const config = await resolveConfig();
|
|
64
64
|
unpackBuild(config);
|
|
65
65
|
},
|
package/dist/run/dev.cjs
CHANGED
|
@@ -87,7 +87,7 @@ async function unpackDev(originalUnpackConfig) {
|
|
|
87
87
|
};
|
|
88
88
|
const server = new (external_webpack_dev_server_default())(devServerOptions, compiler);
|
|
89
89
|
await server.start();
|
|
90
|
-
external_logger_cjs_namespaceObject.logger.greet(` ${external_colors_cjs_namespaceObject.colors.green(`${external_colors_cjs_namespaceObject.colors.bold(unpackConfig._context.callerName.toUpperCase())} v2.3.
|
|
90
|
+
external_logger_cjs_namespaceObject.logger.greet(` ${external_colors_cjs_namespaceObject.colors.green(`${external_colors_cjs_namespaceObject.colors.bold(unpackConfig._context.callerName.toUpperCase())} v2.3.7`)} ${external_colors_cjs_namespaceObject.colors.dim(`ready in ${external_colors_cjs_namespaceObject.colors.reset(Math.ceil(performance.now() - global.__unpack_start_time))}ms`)}\n`);
|
|
91
91
|
printAddressUrls(port);
|
|
92
92
|
external_logger_cjs_namespaceObject.logger.wait('building...');
|
|
93
93
|
global.__unpack_dev_server_started = true;
|
package/dist/run/dev.js
CHANGED
|
@@ -50,7 +50,7 @@ async function unpackDev(originalUnpackConfig) {
|
|
|
50
50
|
};
|
|
51
51
|
const server = new webpack_dev_server(devServerOptions, compiler);
|
|
52
52
|
await server.start();
|
|
53
|
-
logger.greet(` ${colors.green(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v2.3.
|
|
53
|
+
logger.greet(` ${colors.green(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v2.3.7`)} ${colors.dim(`ready in ${colors.reset(Math.ceil(performance.now() - global.__unpack_start_time))}ms`)}\n`);
|
|
54
54
|
printAddressUrls(port);
|
|
55
55
|
logger.wait('building...');
|
|
56
56
|
global.__unpack_dev_server_started = true;
|
|
@@ -79,7 +79,7 @@ class TypedCssModulesPlugin {
|
|
|
79
79
|
this.generateCssTypings(this.useIncremental).catch((err)=>{
|
|
80
80
|
external_logger_cjs_namespaceObject.logger.error(err.toString());
|
|
81
81
|
}).finally(()=>{
|
|
82
|
-
this.useIncremental =
|
|
82
|
+
this.useIncremental = true;
|
|
83
83
|
});
|
|
84
84
|
}, 100);
|
|
85
85
|
});
|