From 39821d2617c7876cd0d4a3f9e6e54223ac4308c3 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 0b24a22e..617fdb34 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,