fix: fixes next.js build to not include server files

Also fixes the next.js build to properly purge unused css classes from tailwind
This commit is contained in:
sct
2020-08-23 06:34:38 +00:00
parent 28854190a0
commit de8ee9ba85
4 changed files with 5 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
"build:next": "next build",
"build": "yarn build:next && yarn build:server",
"lint": "eslint \"./server/**/*.{ts,tsx}\" \"./src/**/*.{ts,tsx}\"",
"start": "NODE_ENV=production node dist/server/index.js"
"start": "NODE_ENV=production node dist/index.js"
},
"dependencies": {
"@tailwindcss/ui": "^0.5.0",