diff --git a/deno2/BUILD.gn b/deno2/BUILD.gn index e660c08e902179..3792702717bac4 100644 --- a/deno2/BUILD.gn +++ b/deno2/BUILD.gn @@ -98,6 +98,7 @@ run_node("bundle") { "js/main.ts", "js/msg.pb.d.ts", "js/msg.pb.js", + "js/package.json", # `browserslist` field controls transform. ] outputs = [ out_dir + "main.js", diff --git a/deno2/js/package.json b/deno2/js/package.json index eb6cfd7fdb0054..29d4d76ffa56b8 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" + ] }