Skip to content

Commit

Permalink
feat(build): Transpile assuming higher version of runtime (#9511)
Browse files Browse the repository at this point in the history
* feat(build): Transpile assuming higher version of runtime

* Use runtime version from manifest

Co-authored-by: Joe Haddad <timer150@gmail.com>
  • Loading branch information
2 people authored and timneutkens committed Jan 20, 2020
1 parent 7fc850e commit 6b87b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/build/babel/preset.ts
Expand Up @@ -156,6 +156,7 @@ module.exports = (
helpers: true,
regenerator: true,
useESModules: supportsESM && presetEnvConfig.modules !== 'commonjs',
version: require('@babel/runtime-corejs2/package.json').version,
absoluteRuntime: (process.versions as any).pnp
? __dirname
: undefined,
Expand Down

0 comments on commit 6b87b2b

Please sign in to comment.