adminforth 2.25.0-test.4 → 2.25.0-test.5

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.
@@ -49,12 +49,25 @@ export default defineConfig({
49
49
  return id.toString().split('node_modules/')[1].split('/')[0].toString();
50
50
  }
51
51
  },
52
+
53
+ // by default servers doesnt returns dotfiles
54
+ // so if we'll generate file with name like ".pnpm-BLnlxqcJ.js"
55
+ // it won't be loaded
56
+ entryFileNames: (chunkInfo) => {
57
+ return chunkInfo.name?.startsWith('.pnpm')
58
+ ? chunkInfo.name.replace(/^\.pnpm/, 'pnpm') + '.js'
59
+ : '[name]-[hash].js'
60
+ },
61
+ chunkFileNames: (chunkInfo) => {
62
+ return chunkInfo.name?.startsWith('.pnpm')
63
+ ? chunkInfo.name.replace(/^\.pnpm/, 'pnpm') + '.js'
64
+ : '[name]-[hash].js'
65
+ },
52
66
  assetFileNames: (assetInfo) => {
53
67
  return assetInfo.name?.startsWith('.pnpm')
54
68
  ? assetInfo.name.replace(/^\.pnpm/, 'pnpm')
55
- : assetInfo.name;
56
- },
57
-
69
+ : '[name]-[hash][extname]'
70
+ }
58
71
  },
59
72
  },
60
73
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.25.0-test.4",
3
+ "version": "2.25.0-test.5",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",