Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(build): Transpile assuming higher version of runtime #9511

Merged
merged 7 commits into from Jan 20, 2020
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