@unpackjs/core 3.2.2 → 3.2.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/dist/index.cjs CHANGED
@@ -662,7 +662,7 @@ for(var __webpack_i__ in (()=>{
662
662
  apply(compiler) {
663
663
  let meta = JSON.stringify({
664
664
  name: jsMinify_PLUGIN_NAME,
665
- version: "3.2.2",
665
+ version: "3.2.3",
666
666
  options: this.minifyOptions
667
667
  });
668
668
  compiler.hooks.compilation.tap(jsMinify_PLUGIN_NAME, (compilation)=>{
@@ -1885,7 +1885,7 @@ for(var __webpack_i__ in (()=>{
1885
1885
  (null == (_req_headers_accept = req.headers.accept) ? void 0 : _req_headers_accept.includes('html')) && (req.url = '/index.html'), next();
1886
1886
  }), middlewares.unshift(core_namespaceObject.experiments.lazyCompilationMiddleware(compiler)), middlewares);
1887
1887
  let server = new (external_webpack_dev_server_default())(devServerOptions, compiler);
1888
- await server.start(), logger_logger.greet(` ${colors.green(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.2.2`)} ${colors.dim(`ready in ${colors.reset(Math.ceil(performance.now() - global.__unpack_start_time))}ms`)}\n`), function(port) {
1888
+ await server.start(), logger_logger.greet(` ${colors.green(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.2.3`)} ${colors.dim(`ready in ${colors.reset(Math.ceil(performance.now() - global.__unpack_start_time))}ms`)}\n`), function(port) {
1889
1889
  let addressUrls = getAddressUrls({
1890
1890
  port
1891
1891
  });
@@ -1939,7 +1939,7 @@ for(var __webpack_i__ in (()=>{
1939
1939
  ]
1940
1940
  }, _context = {
1941
1941
  callerName,
1942
- version: "3.2.2"
1942
+ version: "3.2.3"
1943
1943
  }, { plugins, bundlerConfig, ...rest } = mergeConfig(defaultConfig, config);
1944
1944
  for (let plugin of getNormalizedPluginsByHook('config', plugins))rest = await plugin.config(rest, {
1945
1945
  ..._context,
@@ -1956,7 +1956,7 @@ for(var __webpack_i__ in (()=>{
1956
1956
  build: async ({ watch } = {})=>{
1957
1957
  setNodeEnv(watch ? 'development' : 'production');
1958
1958
  let config = await resolveConfig();
1959
- console.log(colors.rainbow(`${callerName} v3.2.2`), colors.green(`building for ${getNodeEnv()}...`)), unpackBuild(config);
1959
+ console.log(colors.rainbow(`${callerName} v3.2.3`), colors.green(`building for ${getNodeEnv()}...`)), unpackBuild(config);
1960
1960
  },
1961
1961
  dev: async ()=>{
1962
1962
  global.__unpack_start_time = performance.now(), setNodeEnv('development'), setDevServer(!0), unpackDev(await resolveConfig());
package/dist/index.js CHANGED
@@ -592,7 +592,7 @@ class JsMinifyPlugin {
592
592
  apply(compiler) {
593
593
  let meta = JSON.stringify({
594
594
  name: jsMinify_PLUGIN_NAME,
595
- version: "3.2.2",
595
+ version: "3.2.3",
596
596
  options: this.minifyOptions
597
597
  });
598
598
  compiler.hooks.compilation.tap(jsMinify_PLUGIN_NAME, (compilation)=>{
@@ -1801,7 +1801,7 @@ async function unpackDev(originalUnpackConfig) {
1801
1801
  (null == (_req_headers_accept = req.headers.accept) ? void 0 : _req_headers_accept.includes('html')) && (req.url = '/index.html'), next();
1802
1802
  }), middlewares.unshift(experiments.lazyCompilationMiddleware(compiler)), middlewares);
1803
1803
  let server = new webpack_dev_server(devServerOptions, compiler);
1804
- await server.start(), logger_logger.greet(` ${colors.green(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.2.2`)} ${colors.dim(`ready in ${colors.reset(Math.ceil(performance.now() - global.__unpack_start_time))}ms`)}\n`), getAddressUrls({
1804
+ await server.start(), logger_logger.greet(` ${colors.green(`${colors.bold(unpackConfig._context.callerName.toUpperCase())} v3.2.3`)} ${colors.dim(`ready in ${colors.reset(Math.ceil(performance.now() - global.__unpack_start_time))}ms`)}\n`), getAddressUrls({
1805
1805
  port: port
1806
1806
  }).forEach((addr)=>{
1807
1807
  let url;
@@ -1852,7 +1852,7 @@ function createUnpack({ cwd = process.cwd(), config, callerName = 'unpack' }) {
1852
1852
  ]
1853
1853
  }, _context = {
1854
1854
  callerName,
1855
- version: "3.2.2"
1855
+ version: "3.2.3"
1856
1856
  }, { plugins, bundlerConfig, ...rest } = mergeConfig(defaultConfig, config);
1857
1857
  for (let plugin of getNormalizedPluginsByHook('config', plugins))rest = await plugin.config(rest, {
1858
1858
  ..._context,
@@ -1869,7 +1869,7 @@ function createUnpack({ cwd = process.cwd(), config, callerName = 'unpack' }) {
1869
1869
  build: async ({ watch } = {})=>{
1870
1870
  setNodeEnv(watch ? 'development' : 'production');
1871
1871
  let config = await resolveConfig();
1872
- console.log(colors.rainbow(`${callerName} v3.2.2`), colors.green(`building for ${getNodeEnv()}...`)), unpackBuild(config);
1872
+ console.log(colors.rainbow(`${callerName} v3.2.3`), colors.green(`building for ${getNodeEnv()}...`)), unpackBuild(config);
1873
1873
  },
1874
1874
  dev: async ()=>{
1875
1875
  global.__unpack_start_time = performance.now(), setNodeEnv('development'), setDevServer(!0), unpackDev(await resolveConfig());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unpackjs/core",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "An Rspack-based build tool",
5
5
  "type": "module",
6
6
  "exports": {