From b213fc351eddc226a67f83b9d935248a067b45f5 Mon Sep 17 00:00:00 2001 From: Artem Yavorsky Date: Fri, 23 Dec 2016 13:28:33 +0200 Subject: [PATCH] Use parsed targets for Using targets log. --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 797a7f7b..911909de 100644 --- a/src/index.js +++ b/src/index.js @@ -257,7 +257,7 @@ export default function buildPreset(context, opts = {}) { hasBeenLogged = true; console.log("babel-preset-env: `DEBUG` option"); console.log("\nUsing targets:"); - console.log(JSON.stringify(opts.targets, null, 2)); + console.log(JSON.stringify(targets, null, 2)); console.log(`\nModules transform: ${moduleType}`); console.log("\nUsing plugins:"); transformations.forEach((transform) => {