@unsetsoft/ryunix-presets 1.0.26-canary.21 → 1.0.26-canary.22

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unsetsoft/ryunix-presets",
3
3
  "description": "Package with presets for different development environments.",
4
- "version": "1.0.26-canary.21",
4
+ "version": "1.0.26-canary.22",
5
5
  "author": "Neyunse",
6
6
  "type": "module",
7
7
  "repository": "https://github.com/UnSetSoft/Ryunixjs",
@@ -348,9 +348,9 @@ const clientConfig = {
348
348
  output: {
349
349
  path: resolveApp(dir, `${config.webpack.output.buildDirectory}/static`),
350
350
  publicPath: '/',
351
- chunkFilename: './chunks/[name].[fullhash:8].chunk.js',
351
+ chunkFilename: config.webpack.production ? './chunks/[name].[contenthash:8].chunk.js' : './chunks/[name].chunk.js',
352
352
  assetModuleFilename: './media/[name].[hash][ext]',
353
- filename: './chunks/[name].[fullhash:8].bundle.js',
353
+ filename: config.webpack.production ? './chunks/[name].[contenthash:8].bundle.js' : './chunks/[name].bundle.js',
354
354
  devtoolModuleFilenameTemplate: 'ryunix/[resource-path]',
355
355
  clean: false, // Pre-build cleanup is handled explicitly in index.mjs
356
356
  },
@@ -488,7 +488,7 @@ const serverConfig = {
488
488
  output: {
489
489
  path: resolveApp(dir, `${config.webpack.output.buildDirectory}/server`),
490
490
  filename: 'app-router-server.bundle.mjs',
491
- chunkFilename: 'chunks/[name].[fullhash:8].chunk.mjs',
491
+ chunkFilename: config.webpack.production ? 'chunks/[name].[contenthash:8].chunk.mjs' : 'chunks/[name].chunk.mjs',
492
492
  publicPath: '/',
493
493
  library: { type: 'module' },
494
494
  chunkFormat: 'module',