mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-03-17 03:04:52 +00:00
Inline the CSS for improved first paint performance (#81)
* Upgrade Next.js from 9.1.2 to 9.5.3 * Inline the CSS for improved first paint performance * Change ENV to NODE_ENV Possibly the CSS was not minified due to this
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
"scripts": {
|
||||
"start": "next",
|
||||
"build": "next build && next export",
|
||||
"dev": "SERVER=http://localhost:9000/ ENV=development next",
|
||||
"prod": "ENV=production next build && next export",
|
||||
"dev": "SERVER=http://localhost:9000/ NODE_ENV=development next",
|
||||
"prod": "NODE_ENV=production next build && next export",
|
||||
"lint": "eslint --ext .jsx --ext .js .",
|
||||
"prettify": "prettier --write components pages styles"
|
||||
},
|
||||
@@ -21,7 +21,7 @@
|
||||
"font-awesome": "^4.7.0",
|
||||
"less": "^3.10.3",
|
||||
"lodash": "^4.17.15",
|
||||
"next": "^9.1.2",
|
||||
"next": "^9.5.3",
|
||||
"next-fonts": "^1.4.0",
|
||||
"parse-github-event": "^1.1.3",
|
||||
"react": "^16.11.0",
|
||||
|
||||
Reference in New Issue
Block a user