diff --git a/quadratic-client/package.json b/quadratic-client/package.json index a149519020..613b65e9fd 100644 --- a/quadratic-client/package.json +++ b/quadratic-client/package.json @@ -77,9 +77,9 @@ "main": "public/electron.js", "scripts": { "preview": "npm run build && vite preview --port=3000", - "start": "export VITE_VERSION=$(git rev-parse HEAD) && export NODE_OPTIONS=--max-old-space-size=8192 && vite dev", + "start": "export VITE_VERSION=$(git rev-parse HEAD) && export NODE_OPTIONS=--max-old-space-size=16384 && vite dev", "start:no-hmr": "npm run build && vite preview --port 3000", - "build": "export VITE_VERSION=$(git rev-parse HEAD) && export NODE_OPTIONS=--max-old-space-size=8192 && vite build", + "build": "export VITE_VERSION=$(git rev-parse HEAD) && export NODE_OPTIONS=--max-old-space-size=16384 && vite build", "build:wasm": "npm run build:wasm:javascript && npm run build:wasm:nodejs && npm run build:wasm:types", "build:wasm:types": "cd .. && cd quadratic-core && cargo run --bin export_types", "build:wasm:javascript": "cd .. && cd quadratic-core && wasm-pack build --target web --out-dir ../quadratic-client/src/app/quadratic-core --weak-refs", diff --git a/quadratic-client/vite.config.js b/quadratic-client/vite.config.js index b7a3e3d2a4..a1c4f565d9 100644 --- a/quadratic-client/vite.config.js +++ b/quadratic-client/vite.config.js @@ -16,7 +16,7 @@ export default defineConfig(() => { }, }), ]; - if (process.env.SENTRY_AUTH_TOKEN) { + if (process.env.SENTRY_AUTH_TOKEN && process.env.SENTRY_AUTH_TOKEN !== 'none') { plugins.push( sentryVitePlugin({ authToken: process.env.SENTRY_AUTH_TOKEN,