image fix

This commit is contained in:
Michel Fromme
2023-07-24 16:25:24 +02:00
parent 24d91353b9
commit 161262f590
21 changed files with 42 additions and 40 deletions
+16 -15
View File
@@ -8,21 +8,22 @@ import vue from '@vitejs/plugin-vue'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [vue()],
optimizeDeps: {
esbuildOptions: {
plugins: [
NodeModulesPolyfills(),
GlobalsPolyfills({
process: true,
buffer: true,
}),
],
define: {
global: 'globalThis',
},
},
},
base: "./",
plugins: [vue()],
optimizeDeps: {
esbuildOptions: {
plugins: [
NodeModulesPolyfills(),
GlobalsPolyfills({
process: true,
buffer: true,
}),
],
define: {
global: "globalThis",
},
},
},
resolve: {
alias: {
"@": fileURLToPath(new URL("./src", import.meta.url)),