Skip to content

Commit

Permalink
force js target to es2021
Browse files Browse the repository at this point in the history
es2022 is not supported by macOS BigSur
  • Loading branch information
ananthakumaran committed Jan 28, 2024
1 parent 03d4fe2 commit 24f504d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
16 changes: 9 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"@lezer/generator": "^1.5.0",
"@sveltejs/adapter-auto": "^3.0.1",
"@sveltejs/adapter-static": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/kit": "^2.4.1",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/chroma-js": "^2.1.4",
"@types/crypto-js": "^4.2.1",
Expand Down
3 changes: 3 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { nodePolyfills } from "vite-plugin-node-polyfills";

/** @type {import('vite').UserConfig} */
const config = {
build: {
target: 'es2021'
},
plugins: [
sveltekit(),
nodePolyfills({
Expand Down

0 comments on commit 24f504d

Please sign in to comment.