Skip to content

Commit

Permalink
use preset-env's debug option to show the targets and plugins being used
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoqh committed Jun 3, 2019
1 parent 89d2321 commit 11a5e83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -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 = [];
Expand Down

0 comments on commit 11a5e83

Please sign in to comment.