diff --git a/package.json b/package.json index 80073aab..89ffa6e3 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "scripts": { "test": "jest", "dev": "sb dev -p 6006", - "build": "microbundle --jsx React.createElement --jsxFragment React.Fragment", + "build": "export NODE_OPTIONS=--max_old_space_size=4096 && microbundle --jsx React.createElement --jsxFragment React.Fragment --target node", "build:lib": "npm run build && npm pack", "build-storybook": "sb build", "chromatic": "npx chromatic",