mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-04-07 20:30:22 +00:00
Merge branch 'dev'
This commit is contained in:
7427
website/package-lock.json
generated
7427
website/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -54,8 +54,7 @@
|
|||||||
"tw-animate-css": "^1.3.4",
|
"tw-animate-css": "^1.3.4",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"vaul-svelte": "^1.0.0-next.7",
|
"vaul-svelte": "^1.0.0-next.7",
|
||||||
"vite": "^6.3.5",
|
"vite": "^6.3.5"
|
||||||
"vite-plugin-node-polyfills": "^0.23.0"
|
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -1,21 +1,11 @@
|
|||||||
import { sveltekit } from '@sveltejs/kit/vite';
|
import { sveltekit } from '@sveltejs/kit/vite';
|
||||||
import { enhancedImages } from '@sveltejs/enhanced-img';
|
import { enhancedImages } from '@sveltejs/enhanced-img';
|
||||||
import { defineConfig } from 'vite';
|
import { defineConfig } from 'vite';
|
||||||
import { nodePolyfills } from 'vite-plugin-node-polyfills';
|
|
||||||
import tailwindcss from '@tailwindcss/vite';
|
import tailwindcss from '@tailwindcss/vite';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
ssr: {
|
ssr: {
|
||||||
noExternal: ['gpx'],
|
noExternal: ['gpx'],
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [enhancedImages(), tailwindcss(), sveltekit()],
|
||||||
nodePolyfills({
|
|
||||||
globals: {
|
|
||||||
Buffer: true,
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
enhancedImages(),
|
|
||||||
tailwindcss(),
|
|
||||||
sveltekit(),
|
|
||||||
],
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user