@xuda.io/xuda-widget-plugin-xuda-drive 1.0.94 → 1.0.95

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-widget-plugin-xuda-drive",
3
- "version": "1.0.94",
3
+ "version": "1.0.95",
4
4
  "description": "Xuda Drive widget plugin",
5
5
  "scripts": {
6
6
  "pub": "npm version patch --force && npm publish --access public",
package/vite.config.js CHANGED
@@ -34,7 +34,14 @@ export default {
34
34
  // Output files with meaningful names
35
35
  entryFileNames: "[name].mjs",
36
36
  chunkFileNames: "[name]-[hash].mjs",
37
- assetFileNames: "[name]-[hash][extname]"
37
+ // assetFileNames: "[name]-[hash][extname]"
38
+ assetFileNames: (assetInfo) => {
39
+ // Place all CSS in a single 'vendor.css' file
40
+ if (assetInfo.name && assetInfo.name.endsWith(".css")) {
41
+ return "vendor[extname]";
42
+ }
43
+ return "[name]-[hash][extname]";
44
+ }
38
45
  }
39
46
  },
40
47
  minify: false // Disable minification for easier debugging
File without changes