Prune builder dependencies

This commit is contained in:
Andrew Kingston 2021-03-31 19:12:28 +01:00
parent 369a0d6c7a
commit 03eafad505
3 changed files with 635 additions and 2006 deletions

View File

@ -3,9 +3,8 @@
"version": "0.8.9",
"license": "AGPL-3.0",
"private": true,
"type": "module",
"scripts": {
"build": "routify -b && rollup -c",
"build": "routify -b && vite build",
"start": "routify -c rollup",
"test": "jest",
"test:watch": "jest --watchAll",
@ -73,10 +72,7 @@
"@sentry/browser": "5.19.1",
"@svelteschool/svelte-forms": "0.7.0",
"codemirror": "^5.59.0",
"d3-selection": "^1.4.1",
"deepmerge": "^4.2.2",
"downloadjs": "1.4.7",
"fast-sort": "^2.2.0",
"lodash": "4.17.13",
"posthog-js": "1.4.5",
"remixicon": "2.5.0",
@ -91,35 +87,21 @@
"@babel/core": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/runtime": "^7.5.5",
"@rollup/plugin-alias": "^3.0.1",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-replace": "^2.4.2",
"@roxi/routify": "2.15.1",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.5",
"@testing-library/jest-dom": "^5.11.0",
"@testing-library/svelte": "^3.0.0",
"babel-jest": "^24.8.0",
"babel-jest": "^26.6.3",
"cypress": "^5.1.0",
"cypress-terminal-report": "^1.4.1",
"eslint-plugin-cypress": "^2.11.1",
"eslint": "^7.23.0",
"eslint-plugin-cypress": "^2.11.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.8.0",
"ncp": "^2.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.44.0",
"rollup-plugin-alias": "^2.2.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-html": "^0.2.1",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-url": "^3.0.1",
"start-server-and-test": "^1.12.1",
"svelte": "^3.36.0",
"svelte-jester": "^1.3.2",

View File

@ -1,5 +1,4 @@
import svelte from "@sveltejs/vite-plugin-svelte"
import html from "rollup-plugin-html"
import replace from "@rollup/plugin-replace"
import path from "path"
@ -11,7 +10,10 @@ export default ({ mode }) => {
minify: isProduction,
},
plugins: [
svelte(),
svelte({
hot: !isProduction,
emitCss: true,
}),
replace({
preventAssignment: true,
"process.env.NODE_ENV": JSON.stringify(
@ -21,7 +23,6 @@ export default ({ mode }) => {
"process.env.POSTHOG_URL": JSON.stringify(process.env.POSTHOG_URL),
"process.env.SENTRY_DSN": JSON.stringify(process.env.SENTRY_DSN),
}),
html(),
],
optimizeDeps: {
exclude: ["@roxi/routify"],

File diff suppressed because it is too large Load Diff