babel-preset-kyt-core
Advanced tools
Comparing version 1.2.7 to 1.2.8
@@ -50,2 +50,5 @@ "use strict"; | ||
} | ||
}; | ||
const testEnvOptions = { | ||
loose: true | ||
}; // Derive the babel-preset-env options based on the type of environment | ||
@@ -67,3 +70,3 @@ // we are in, client, server or test. Give the ability to users to override | ||
} else if (process.env.KYT_ENV_TYPE === 'test') { | ||
envOptions = merge({}, userEnvOptions.test ? userEnvOptions.test : {}); // Unless the user wants to define the transform-runtime plugin, | ||
envOptions = merge({}, testEnvOptions, userEnvOptions.test ? userEnvOptions.test : {}); // Unless the user wants to define the transform-runtime plugin, | ||
// we needs to make sure it's true/added for tests. | ||
@@ -70,0 +73,0 @@ |
{ | ||
"name": "babel-preset-kyt-core", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"description": "An opinionated babel preset, best used with kyt", | ||
@@ -37,3 +37,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "fa6aeb904e864df61da94b833b66a9f5151b27f0" | ||
"gitHead": "27ddc96477209498f270c62d97741a53cf7823b1" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7791
72