Skip to content
This repository was archived by the owner on Jul 16, 2022. It is now read-only.

Commit 4fa9cbd

Browse files
committed
fix: remove unnecessary log
1 parent 80443df commit 4fa9cbd

File tree

2 files changed

+16
-35
lines changed

2 files changed

+16
-35
lines changed

packages/cli-plugin-fractal/package-lock.json

Lines changed: 11 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/cli-plugin-vue/src/webpack/build.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
/* eslint-disable global-require,prefer-destructuring */
22
const path = require('path');
33
const fs = require('fs-extra');
4-
const { info, chalk } = require('@vue/cli-shared-utils');
4+
// const { info, chalk } = require('@vue/cli-shared-utils');
55
const resetWebpackConfig = require('./reset');
66
const buildWebpackEntries = require('./entries');
77
const buildWebpackAlias = require('./alias');
88
const buildWebpackAssets = require('./assets');
99

1010
module.exports = (config, baseVueConfig) => {
1111
const { scssMixinsPath, scssMixins = [], outputDir = config.currentWebsiteDir, alias } = config.vueCli;
12-
const isProd = process.env.NODE_ENV === 'production';
12+
// const isProd = process.env.NODE_ENV === 'production';
1313

1414
let sass = [scssMixinsPath]
1515
.concat(scssMixins)
@@ -19,9 +19,9 @@ module.exports = (config, baseVueConfig) => {
1919
acc.data += `\n${fs.readFileSync(mixinsPath, 'utf-8')}`;
2020
acc.includePaths.push(path.dirname(mixinsPath));
2121

22-
if (!isProd) {
23-
info(`Add sass mixins: '${chalk.cyan(mixinsPath)}'`);
24-
}
22+
// if (!isProd) {
23+
// info(`Add sass mixins: '${chalk.cyan(mixinsPath)}'`);
24+
// }
2525

2626
return acc;
2727
},

0 commit comments

Comments
 (0)