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

WIP Promise.prototype.finally polyfill #2741

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = (api) => {
{
targets: IS_TEST ? { node: true } : { browsers: pkgJson.browserslist },
modules: IS_TEST ? 'commonjs' : false,
useBuiltIns: 'usage',
useBuiltIns: 'entry',
corejs: pkgJson.dependencies['core-js'],
// Exclude transforms that make all code slower
// See https://github.com/facebook/create-react-app/pull/5278
Expand Down
2 changes: 1 addition & 1 deletion website/webpack/webpack.config.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const commonConfig = merge([
// convenient with more complex configurations.
entry: {
// This will build an app.js file from the `main` module.
app: ['entry/main'],
app: ['core-js/stable', 'regenerator-runtime/runtime', 'entry/main'],
},
context: parts.PATHS.src,
output: {
Expand Down