diff options
author | Bert Belder <bertbelder@gmail.com> | 2018-06-15 22:20:32 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2018-06-15 23:33:24 +0200 |
commit | 004e0426f7e86047de73ee5f3353a14470d05a3f (patch) | |
tree | 4e822f8f27d0b3d50489c41c6be01b5843f57a70 /deno2/js | |
parent | 30479868d0fae6ca9d812fb9f3b19056386c535e (diff) |
deno2: make parcel produce more modern javascript
Parcel runs typescript compiler output through babel. Unfortunately
there's no way to turn this off entirely, but with this rule it at least
won't transpile down to ES5.
See also https://github.com/parcel-bundler/parcel/issues/954
Diffstat (limited to 'deno2/js')
-rw-r--r-- | deno2/js/package.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deno2/js/package.json b/deno2/js/package.json index eb6cfd7fd..29d4d76ff 100644 --- a/deno2/js/package.json +++ b/deno2/js/package.json @@ -5,5 +5,8 @@ "parcel-bundler": "^1.8.1", "protobufjs": "^6.8.6", "typescript": "^2.9.1" - } + }, + "browserslist": [ + "chrome 69" + ] } |