Skip to content

Commit 4258829

Browse files
committed
Try the fix netlify team suggested
1 parent 56ce0e3 commit 4258829

File tree

3 files changed

+392
-12
lines changed

3 files changed

+392
-12
lines changed

netlify.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build]
2-
command = "remix build"
2+
command = "yarn run build:css && remix build"
33
functions = "netlify/functions"
44
publish = "public"
55

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"license": "",
66
"scripts": {
77
"postinstall": "remix setup node",
8-
"build": "npm run build:css && remix build",
8+
"build": "yarn run build:css && remix build",
99
"build:css": "tailwindcss -o ./app/tailwind.css",
10-
"dev": "concurrently \"pnpm run dev:css\" \"NODE_ENV=development netlify dev\"",
10+
"dev": "concurrently \"yarn run dev:css\" \"NODE_ENV=development netlify dev\"",
1111
"dev:css": "tailwindcss -o ./app/tailwind.css --watch"
1212
},
1313
"dependencies": {
@@ -17,7 +17,8 @@
1717
"react": "^17.0.2",
1818
"react-dom": "^17.0.2",
1919
"remix": "^1.1.1",
20-
"rough-charts": "^0.5.0"
20+
"rough-charts": "^0.5.0",
21+
"webpack": "^5.65.0"
2122
},
2223
"devDependencies": {
2324
"@remix-run/dev": "^1.1.1",

0 commit comments

Comments
 (0)