We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edac83f commit feab817Copy full SHA for feab817
packages/beidou-webpack/bin/build.js
@@ -41,18 +41,18 @@ if (originEnv !== 'local') {
41
app.config.env = dev ? 'local' : 'prod';
42
43
if (target && !['node', 'browser'].includes(target)) {
44
- app.coreLogger.error(
+ console.error(
45
`Expect target to be "node" or "browser"(default), got ${target}`
46
);
47
process.exit(1);
48
}
49
50
-app.coreLogger.info(`Target is ${target}`);
+console.info(`Target is ${target}`);
51
const compiler = builder(app, target);
52
53
compiler.run((err, stats) => {
54
if (err) {
55
- app.coreLogger.error(err);
+ console.error(err);
56
57
58
if (stats) {
0 commit comments