mirror of https://github.com/embarklabs/embark.git
explain babel plugin, preset order
This commit is contained in:
parent
e2c18e6338
commit
39821d2617
|
@ -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