From 28d9ea43cd673f2829f3216332420bc8987456b5 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Mon, 1 Oct 2018 18:36:46 -0500 Subject: [PATCH] explain babel plugin, preset order --- lib/pipeline/webpack.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/pipeline/webpack.config.js b/lib/pipeline/webpack.config.js index 0b24a22ea..617fdb344 100644 --- a/lib/pipeline/webpack.config.js +++ b/lib/pipeline/webpack.config.js @@ -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,