mirror of https://github.com/embarklabs/embark.git
explain babel plugin, preset order
This commit is contained in:
parent
8db316ebf0
commit
28d9ea43cd
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue