Skip to content

Commit

Permalink
Merge pull request #1303 from quadratichq/amplify-fix
Browse files Browse the repository at this point in the history
Amplify fix
  • Loading branch information
davidkircos authored Apr 23, 2024
2 parents 23a4425 + 27c73ee commit af2dc25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions quadratic-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion quadratic-client/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit af2dc25

Please sign in to comment.