diff options
author | 2022-08-20 00:26:22 +0200 | |
---|---|---|
committer | 2022-08-20 21:41:50 +0200 | |
commit | 8995ade5145036b283e39629a25faaa9679a880e (patch) | |
tree | b3ecfbbe63075c619bc4333a578cf9745de4b041 /subprojects/frontend/package.json | |
parent | fix(frontend): CodeMirror gutter accessibility (diff) | |
download | refinery-8995ade5145036b283e39629a25faaa9679a880e.tar.gz refinery-8995ade5145036b283e39629a25faaa9679a880e.tar.zst refinery-8995ade5145036b283e39629a25faaa9679a880e.zip |
refactor(frontend): inline CSS and minify HTML
Optimize first page loading time.
We only include variable and woff2 fonts, as they are widely supported.
Diffstat (limited to 'subprojects/frontend/package.json')
-rw-r--r-- | subprojects/frontend/package.json | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/subprojects/frontend/package.json b/subprojects/frontend/package.json index 693f3d06..aa453cd0 100644 --- a/subprojects/frontend/package.json +++ b/subprojects/frontend/package.json | |||
@@ -55,7 +55,8 @@ | |||
55 | "devDependencies": { | 55 | "devDependencies": { |
56 | "@lezer/generator": "^1.1.1", | 56 | "@lezer/generator": "^1.1.1", |
57 | "@types/eslint": "^8.4.6", | 57 | "@types/eslint": "^8.4.6", |
58 | "@types/node": "^18.7.7", | 58 | "@types/html-minifier-terser": "^7.0.0", |
59 | "@types/node": "^18.7.8", | ||
59 | "@types/prettier": "^2.7.0", | 60 | "@types/prettier": "^2.7.0", |
60 | "@types/react": "^18.0.17", | 61 | "@types/react": "^18.0.17", |
61 | "@types/react-dom": "^18.0.6", | 62 | "@types/react-dom": "^18.0.6", |
@@ -73,6 +74,7 @@ | |||
73 | "eslint-plugin-prettier": "^4.2.1", | 74 | "eslint-plugin-prettier": "^4.2.1", |
74 | "eslint-plugin-react": "^7.30.1", | 75 | "eslint-plugin-react": "^7.30.1", |
75 | "eslint-plugin-react-hooks": "^4.6.0", | 76 | "eslint-plugin-react-hooks": "^4.6.0", |
77 | "html-minifier-terser": "^7.0.0", | ||
76 | "prettier": "^2.7.1", | 78 | "prettier": "^2.7.1", |
77 | "typescript": "~4.7.4", | 79 | "typescript": "~4.7.4", |
78 | "vite": "^3.0.9", | 80 | "vite": "^3.0.9", |