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

Commit

Permalink
fix: remove unnecessary log
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Nov 6, 2018
1 parent 80443df commit 4fa9cbd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 35 deletions.
41 changes: 11 additions & 30 deletions packages/cli-plugin-fractal/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/cli-plugin-vue/src/webpack/build.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/* eslint-disable global-require,prefer-destructuring */
const path = require('path');
const fs = require('fs-extra');
const { info, chalk } = require('@vue/cli-shared-utils');
// const { info, chalk } = require('@vue/cli-shared-utils');
const resetWebpackConfig = require('./reset');
const buildWebpackEntries = require('./entries');
const buildWebpackAlias = require('./alias');
const buildWebpackAssets = require('./assets');

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

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

if (!isProd) {
info(`Add sass mixins: '${chalk.cyan(mixinsPath)}'`);
}
// if (!isProd) {
// info(`Add sass mixins: '${chalk.cyan(mixinsPath)}'`);
// }

return acc;
},
Expand Down

0 comments on commit 4fa9cbd

Please sign in to comment.