Skip to content

Commit 8f569b1

Browse files
chris-lawtonzerolab
authored andcommitted
add target to tsconfig to only support modern browsers
1 parent b48465c commit 8f569b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tsconfig.json

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"compilerOptions": {
3+
// Only support modern browsers.
4+
"target": "es2020",
35
// Webpack will convert ES modules to the required format.
46
"module": "esnext",
57
"esModuleInterop": true,

0 commit comments

Comments
 (0)