Skip to content

Commit

Permalink
feat: support top-level await (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 27, 2021
1 parent 8bc545b commit ac78bcd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -28,7 +28,7 @@
"@sentry/node": "^4.3.0",
"@slack/web-api": "^5.13.0",
"@tensorflow/tfjs-node": "^0.3.0",
"@vercel/webpack-asset-relocator-loader": "1.3.0",
"@vercel/webpack-asset-relocator-loader": "1.4.0",
"analytics-node": "^3.3.0",
"apollo-server-express": "^2.2.2",
"arg": "^4.1.0",
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Expand Up @@ -232,6 +232,9 @@ function ncc (
module: { hash: true }
},
amd: false,
experiments: {
topLevelAwait: true
},
optimization: {
nodeEnv: false,
minimize: false,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Expand Up @@ -1959,10 +1959,10 @@
dependencies:
"@types/yargs-parser" "*"

"@vercel/webpack-asset-relocator-loader@1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.3.0.tgz#b95a464bef6a2a6b5cc38ab7a00a84c3b65aff72"
integrity sha512-vDTciQkeycp25hPQbH3ZH7BWaClWCuwPRfzdPmLtrm2qD3YM8y3C+3r61Alt7gI7rEqKuoJJORtVGmpVGp5Isw==
"@vercel/webpack-asset-relocator-loader@1.4.0":
version "1.4.0"
resolved "https://registry.yarnpkg.com/@vercel/webpack-asset-relocator-loader/-/webpack-asset-relocator-loader-1.4.0.tgz#48b52c59280d8d4c5490d0ad18826294ba5a4ece"
integrity sha512-AIEvl+wSzp8U4EoNnvpEelx2+dtRJT5zOm4X9wFVyLbOg3VqdKPQSqJ7ptVqr8z1X4CvqB9XK46uU3u6JAJuNg==

"@webassemblyjs/ast@1.11.0":
version "1.11.0"
Expand Down

0 comments on commit ac78bcd

Please sign in to comment.