Skip to content

Commit

Permalink
Merge pull request #228 from Renumics/fix/relevance-worker-broken-in-…
Browse files Browse the repository at this point in the history
…build

add node polyfills
  • Loading branch information
neindochoh authored Sep 15, 2023
2 parents 6ddd78b + 8e5bdb9 commit aecf89f
Show file tree
Hide file tree
Showing 4 changed files with 554 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ build: build-frontend build-wheel

.PHONY: build-frontend
build-frontend: ## Build react frontend
pnpm run build
NODE_OPTIONS=--max-old-space-size=32768 pnpm run build

.PHONY: build-wheel
build-wheel: ## Build installable python package
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@
"twin.macro": "^3.3.0",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vite-plugin-dts": "^3.5.2"
"vite-plugin-dts": "^3.5.2",
"vite-plugin-node-polyfills": "^0.14.0"
},
"babelMacros": {
"twin": {
Expand Down
Loading

0 comments on commit aecf89f

Please sign in to comment.