Skip to content
Permalink
Browse files

use preset-env's debug option to show the targets and plugins being used

  • Loading branch information...
nicoqh committed Jun 3, 2019
1 parent 89d2321 commit 11a5e83df9045195818ad9e8f686ef9dc6ddcf36
Showing with 3 additions and 1 deletion.
  1. +3 −1 babel.config.js
@@ -1,5 +1,7 @@
const presets = [
["@babel/preset-env"],
["@babel/preset-env", { // Pass a config object to the preset
debug: true, // Output the targets/plugins used when compiling
}],
];

const plugins = [];

0 comments on commit 11a5e83

Please sign in to comment.
You can’t perform that action at this time.