@xuda.io/xuda-widget-plugin-xuda-drive 1.0.92 → 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/dist/runtime.mjs +3 -1
- package/package.json +1 -1
- package/src/runtime.mjs +5 -5
- package/vite.config.js +8 -1
- /package/dist/{style-7gycY86-.css → vendor.css} +0 -0
package/dist/runtime.mjs
CHANGED
package/package.json
CHANGED
package/src/runtime.mjs
CHANGED
|
@@ -1266,9 +1266,9 @@ export async function viewer(fields, e) {
|
|
|
1266
1266
|
|
|
1267
1267
|
app.use(FloatingVue);
|
|
1268
1268
|
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1269
|
+
setTimeout(() => {
|
|
1270
|
+
// // debugger;
|
|
1271
|
+
// // debugger;
|
|
1272
|
+
app.mount(`[widget-id='${containerId}']`);
|
|
1273
|
+
}, 1000);
|
|
1274
1274
|
}
|
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
|