Skip to content

Conversation

@nicolo-ribaudo
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo commented Oct 19, 2020

Q                       A
Fixed Issues? RFC: babel/rfcs#5 <-- Please read and review it!
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature? Yes
Tests Added + Pass? Yes
Documentation PR Link
Any Dependency Changes?
License MIT

This PR only introduces support for the assumptions option in @babel/core. I will make plugins check it in separate PRs, otherwise this one would be too big to be properly reviewed.

Assumptions implementation:

Those PRs can be reviewed one by one (you can even review those PRs before this one), and I'll merge them here after that both this PR and the specific implementation PR have been approved.

@nicolo-ribaudo nicolo-ribaudo added PR: New Feature 🚀 A type of pull request used for our changelog categories pkg: core labels Oct 19, 2020
/**
* Load a generic plugin/preset from the given descriptor loaded from the config object.
*/
const loadDescriptor = makeWeakCache(function* (
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When reviewing this file, turn off whitespace diff

@babel-bot
Copy link
Collaborator

babel-bot commented Oct 19, 2020

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/34632/

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 19, 2020

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 8affe9b:

Sandbox Source
babel-repl-custom-plugin Configuration
babel-plugin-multi-config Configuration

@nicolo-ribaudo nicolo-ribaudo force-pushed the nicolo-ribaudo/targets-in-core branch from a196b73 to 46dae56 Compare October 24, 2020 18:04
@nicolo-ribaudo nicolo-ribaudo force-pushed the nicolo-ribaudo/targets-in-core branch 2 times, most recently from 58a1e84 to 1f501e0 Compare November 4, 2020 14:40
@nicolo-ribaudo nicolo-ribaudo marked this pull request as ready for review November 13, 2020 16:36
@nicolo-ribaudo nicolo-ribaudo force-pushed the nicolo-ribaudo/targets-in-core branch from 1f501e0 to 7f6a7d8 Compare November 27, 2020 14:33
@nicolo-ribaudo nicolo-ribaudo force-pushed the assumptions branch 3 times, most recently from 3d44f35 to 9aaf0da Compare November 27, 2020 15:14
@nicolo-ribaudo nicolo-ribaudo force-pushed the assumptions branch 2 times, most recently from 985ccbf to 9b673e3 Compare November 27, 2020 15:31
@nicolo-ribaudo nicolo-ribaudo force-pushed the assumptions branch 2 times, most recently from da76ea2 to c12cc57 Compare November 27, 2020 15:52
@nicolo-ribaudo nicolo-ribaudo force-pushed the nicolo-ribaudo/targets-in-core branch from 085be04 to 7bb7925 Compare November 27, 2020 16:18
@nicolo-ribaudo nicolo-ribaudo changed the base branch from nicolo-ribaudo/targets-in-core to feat-7.13.0/babel-core-features December 10, 2020 13:01
nicolo-ribaudo added a commit to nicolo-ribaudo/babel that referenced this pull request Jan 12, 2021
nicolo-ribaudo added a commit to nicolo-ribaudo/babel that referenced this pull request Feb 4, 2021
nicolo-ribaudo added a commit to nicolo-ribaudo/babel that referenced this pull request Feb 10, 2021
nicolo-ribaudo added a commit to nicolo-ribaudo/babel that referenced this pull request Feb 11, 2021
nicolo-ribaudo added a commit that referenced this pull request Feb 16, 2021
- Disallow setting assumptions to `false` in presets (#12498)
nicolo-ribaudo added a commit that referenced this pull request Feb 21, 2021
- Disallow setting assumptions to `false` in presets (#12498)
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Mar 13, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

outdated A closed issue/PR that is archived due to age. Recommended to make a new issue pkg: core PR: New Feature 🚀 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants