site: disable Vite vendor chunk (#6935)

pull/6938/head
Ben McCann 4 years ago committed by GitHub
parent f50d9b9f34
commit 9cd3f2e049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1098
site/package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -9,6 +9,7 @@
"migrate": "node-pg-migrate -r dotenv/config",
"build": "node scripts/update.js && npm run copy-workers && svelte-kit build",
"update": "node scripts/update.js --force=true",
"preview": "svelte-kit preview",
"start": "node build",
"test": "uvu test",
"deploy": "make deploy"
@ -20,7 +21,7 @@
"flru": "^1.0.2",
"httpie": "^1.1.2",
"jsonwebtoken": "^8.5.1",
"marked": "^3.0.5",
"marked": "3.0.5",
"pg": "^8.7.1",
"prism-svelte": "^0.4.3",
"prismjs": "^1.25.0"
@ -30,7 +31,7 @@
"@sveltejs/adapter-node": "next",
"@sveltejs/kit": "next",
"@sveltejs/site-kit": "^1.4.0",
"@sveltejs/svelte-repl": "^0.3.0",
"@sveltejs/svelte-repl": "0.3.0",
"degit": "^2.1.4",
"dotenv": "^10.0.0",
"jimp": "^0.8.0",

@ -9,6 +9,14 @@ export default {
enabled: false
},
vite: () => ({
// https://github.com/sveltejs/kit/issues/1632#issuecomment-854056053
build: {
rollupOptions: {
output: {
manualChunks: undefined
}
}
},
optimizeDeps: {
include: [
'codemirror',

Loading…
Cancel
Save