Skip to content

Commit

Permalink
feat(build): Transpile assuming higher version of runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Nov 25, 2019
1 parent ff2d28c commit d23da80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/next/build/babel/preset.ts
Expand Up @@ -157,6 +157,8 @@ module.exports = (
helpers: true,
regenerator: true,
useESModules: supportsESM && presetEnvConfig.modules !== 'commonjs',
// the lower of the entries in package.json for `@babel/rutime` and `@babel/runtime-corejs2`
version: '7.7.2',
absoluteRuntime: (process.versions as any).pnp
? __dirname
: undefined,
Expand Down

0 comments on commit d23da80

Please sign in to comment.