explain babel plugin, preset order
This commit is contained in:
parent
e2c18e6338
commit
39821d2617
|
@ -65,6 +65,11 @@ function resolve(pkgName) {
|
|||
// 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 = {
|
||||
context: dappPath,
|
||||
entry: entry,
|
||||
|
|
Loading…
Reference in New Issue