Skip to content

Centralize Babel's own compilation config to make it easier to follow.#7599

Merged
loganfsmyth merged 1 commit intobabel:masterfrom
loganfsmyth:centralize-config
Mar 20, 2018
Merged

Centralize Babel's own compilation config to make it easier to follow.#7599
loganfsmyth merged 1 commit intobabel:masterfrom
loganfsmyth:centralize-config

Conversation

@loganfsmyth
Copy link
Copy Markdown
Member

Q                       A
Fixed Issues?
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass? Yes
Documentation PR
Any Dependency Changes?
License MIT

Think this makes things easier?

@loganfsmyth loganfsmyth added the PR: Internal 🏠 A type of pull request used for our changelog categories label Mar 20, 2018
@babel-bot
Copy link
Copy Markdown
Collaborator

babel-bot commented Mar 20, 2018

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

@loganfsmyth loganfsmyth force-pushed the centralize-config branch 3 times, most recently from 98dc21e to 20b7d0d Compare March 20, 2018 02:27
.babelrc.js Outdated
"@babel/proposal-export-namespace-from",
"@babel/proposal-numeric-separator",
["@babel/proposal-object-rest-spread", { useBuiltIns: true }],
].concat(convertESM ? ["@babel/transform-modules-commonjs"] : []),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

not that different but convertESM ? ["@babel/transform-modules-commonjs"] : [] and .filter(Boolean) works too

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Great call, I'll do that instead.

@loganfsmyth loganfsmyth merged commit 6d6fe84 into babel:master Mar 20, 2018
@loganfsmyth loganfsmyth deleted the centralize-config branch March 20, 2018 04:49
mAAdhaTTah added a commit to valtech-nyc/babel that referenced this pull request Mar 21, 2018
* master: (140 commits)
  Update to beta.42 (babel#7609)
  Disable flow on transformClass, fix preset-env errors (babel#7605)
  Logical Assignment: ensure computed key isn't recomputed (babel#7604)
  Remove obsolete max-len eslint rule and reformat some stuff to fit (babel#7602)
  Centralize Babel's own compilation config to make it easier to follow. (babel#7599)
  Run prettier to format all JSON.
  Tweak es2015-related plugin order in preset-env (babel#7586)
  Refactored quirky inheritance in babel-plugin-transform-classes (babel#7444)
  Add RegExp support to include/exclude preset-env options (babel#7242)
  v7.0.0-beta.42
  Use strict namespace behavior for mjs files. (babel#7545)
  Remove outdated spec deviation note [skip ci] (babel#7571)
  Ensure that the backward-compat logic for plugin-utils copies over the version API properly. (babel#7580)
  Rename actual/expected test files to input/output (babel#7578)
  Use helper-module-import inside entry plugin too
  Use helper-module-imports instead of custom import (babel#7457)
  Fix "Module build failed: Error: Cannot find module '@babel/types'" (babel#7575)
  Wrap wrapNativeSuper helpers in redefining functions for better tree-shakeability (babel#7188)
  Favour extends helper over objectWithoutProperties when whole object gets copied anyway (babel#7390)
  Fix incorrect value of _cache in _wrapNativeSuper (babel#7570)
  ...
@lock lock bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Oct 5, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Oct 5, 2019
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 PR: Internal 🏠 A type of pull request used for our changelog categories

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants