Skip to content

Commit 32f04ff

Browse files
committed
run rescript first in build
1 parent 098c91d commit 32f04ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"res:watch": "rescript watch",
1414
"res:clean": "rescript clean",
1515
"res:build": "rescript build",
16-
"build": "npm run sync-bundles && npm run update-index && rescript build && react-router build",
16+
"build": "rescript build && npm run sync-bundles && npm run update-index && react-router build",
1717
"test": "node scripts/test-examples.mjs",
1818
"reanalyze": "reanalyze -all-cmt .",
1919
"update-index": "npm run generate-llms && node scripts/generate_feed.mjs > public/blog/feed.xml",
@@ -75,4 +75,4 @@
7575
"vite-plugin-devtools-json": "^1.0.0",
7676
"vite-plugin-env-compatible": "^2.0.1"
7777
}
78-
}
78+
}

0 commit comments

Comments
 (0)