rev comment to provide more context/clarity
This commit is contained in:
parent
d869c7872d
commit
6534c30200
|
@ -65,12 +65,11 @@ function resolve(pkgName) {
|
||||||
// base config
|
// base config
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
||||||
// order and options of plugins and presets adapted from babel-preset-react-app:
|
// order and options of babel plugins and presets adapted from babel-preset-react-app:
|
||||||
// see: https://github.com/facebook/create-react-app/blob/72d4ab02922c54b80126da2e132f60fdbdc2f6b3/packages/babel-preset-react-app/create.js
|
// see: https://github.com/facebook/create-react-app/blob/72d4ab02922c54b80126da2e132f60fdbdc2f6b3/packages/babel-preset-react-app/create.js
|
||||||
|
// + babel plugins run before babel presets.
|
||||||
// + Plugins run before Presets.
|
// + babel plugin ordering is first to last.
|
||||||
// + Plugin ordering is first to last.
|
// + babel preset ordering is reversed (last to first).
|
||||||
// + Preset ordering is reversed (last to first).
|
|
||||||
// see: https://babeljs.io/docs/en/plugins#plugin-ordering
|
// see: https://babeljs.io/docs/en/plugins#plugin-ordering
|
||||||
|
|
||||||
const base = {
|
const base = {
|
||||||
|
|
Loading…
Reference in New Issue