babel-plugin-zent
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -45,3 +45,3 @@ "use strict"; | ||
})) { | ||
console.error(_chalk.default.red(`\`require('${libName}')\` is ignored, use \`import { ... } from '${libName}'\`\n` + `The actual cause of this might be \`@babel/preset-env\` \`modules\` option is resolved to \`cjs\`\n` + `Use the \`debug\` option in \`@babel/preset-env\` to check this\n`)); | ||
console.error(_chalk.default.red(`babel-plugin-zent: Tree shaking disabled for package \`${libName}\`.\n` + ` Found \`require('${libName}')\`, use \`import { ... } from '${libName}'\` instead.\n` + ` The actual cause of this might be \`@babel/preset-env\` \`modules\` option was resolved to \`cjs\`.` + ` Use the \`debug\` option in \`@babel/preset-env\` to check this.\n`)); | ||
} | ||
@@ -48,0 +48,0 @@ } |
{ | ||
"name": "babel-plugin-zent", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
10410