babel-codemod
Advanced tools
Comparing version 1.6.9 to 1.6.10
{ | ||
"name": "babel-codemod", | ||
"version": "1.6.9", | ||
"version": "1.6.10", | ||
"description": "babel-codemod rewrites JavaScript using babel plugins.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -29,5 +29,5 @@ "use strict"; | ||
if (ext === '.ts') { | ||
options.presets.push('@babel/preset-typescript'); | ||
options.presets.push(require.resolve('@babel/preset-typescript')); | ||
} | ||
options.presets.push('@babel/preset-env'); | ||
options.presets.push(require.resolve('@babel/preset-env')); | ||
} | ||
@@ -34,0 +34,0 @@ return core_1.transform(code, options).code; |
Sorry, the diff of this file is not supported yet
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
92540