Skip to content

Commit

Permalink
build(tsconfig-json): include es2019 in libs to have Array#flat()
Browse files Browse the repository at this point in the history
With this we no longer need to include lodash for flattening 2D arrays
which is great when
optimizing for bundle sizes in the browser builds.

Signed-off-by: Peter Somogyvari <[email protected]>
  • Loading branch information
petermetz committed Dec 1, 2020
1 parent 6d2e93c commit 9768d93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"es2015",
"es2016",
"es2017",
"es2019",
"dom"
], /* Specify library files to be included in the compilation. */
// "allowJs": true, /* Allow javascript files to be compiled. */
Expand Down

0 comments on commit 9768d93

Please sign in to comment.