Skip to content

Commit 7ecbf50

Browse files
committed
Target ES2019 for react-native / angular
1 parent 117f6b6 commit 7ecbf50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"testEnvironment": "jsdom"
4646
},
4747
"scripts": {
48-
"build": "tsc -p tsconfig.json && esbuild src/index.ts --bundle --minify --sourcemap --target=es2020 --format=esm --outfile=dist/index.min.js",
48+
"build": "tsc -p tsconfig.json && esbuild src/index.ts --bundle --minify --sourcemap --target=es2019 --format=esm --outfile=dist/index.min.js",
4949
"watch": "tsc -p tsconfig.json -w --preserveWatchOutput",
5050
"test": "jest"
5151
},

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"skipLibCheck": true,
2020
"sourceMap": true,
2121
"strict": false,
22-
"target": "ES2020"
22+
"target": "ES2019"
2323
}
2424
}

0 commit comments

Comments
 (0)