fix: jit config

This commit is contained in:
Timothy Lin
2021-05-23 11:49:22 +08:00
parent 159ecd7d2b
commit d36a4aad91
3 changed files with 14 additions and 24 deletions
+4 -4
View File
@@ -3,11 +3,11 @@
"version": "0.3.2",
"private": true,
"scripts": {
"start": "next-remote-watch ./data",
"dev": "next dev",
"start": "next-remote-watch data/blog --root . -p",
"dev": "cross-env TAILWIND_MODE=watch next dev",
"build": "next build && node ./scripts/generate-sitemap",
"serve": "next start",
"analyze": "env ANALYZE=true next build",
"analyze": "cross-env ANALYZE=true next build",
"prepare": "husky install"
},
"dependencies": {
@@ -40,7 +40,7 @@
"devDependencies": {
"@next/bundle-analyzer": "10.2.0",
"@svgr/webpack": "^5.5.0",
"@tailwindcss/jit": "^0.1.18",
"cross-env": "^7.0.3",
"eslint": "^7.17.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jsx-a11y": "^6.4.1",