explain babel plugin, preset order

This commit is contained in:
Michael Bradley, Jr 2018-10-01 18:36:46 -05:00
parent 8db316ebf0
commit 28d9ea43cd
1 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,11 @@ function resolve(pkgName) {
// base config // base config
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// + Plugins run before Presets.
// + Plugin ordering is first to last.
// + Preset ordering is reversed (last to first).
// see: https://babeljs.io/docs/en/plugins#plugin-ordering
const base = { const base = {
context: dappPath, context: dappPath,
entry: entry, entry: entry,