mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-26 22:47:49 +02:00
chore: rename v2 project back to Docusaurus (#975)
* feat: better log message on build * feat: rename any 'endiliey|munseo' to 'facebook|docusaurus' * test: remove unwanted console.log
This commit is contained in:
parent
8568a96e65
commit
fbdd79981d
10 changed files with 44 additions and 35 deletions
|
@ -21,7 +21,10 @@ module.exports = function createClientConfig(props) {
|
|||
.use(StatsWriterPlugin, [{filename: 'client.stats.json'}]);
|
||||
|
||||
// show compilation progress bar and build time
|
||||
config.plugin('niceLog').use(webpackNiceLog, [{name: 'Client'}]);
|
||||
const isProd = process.env.NODE_ENV === 'production';
|
||||
config
|
||||
.plugin('niceLog')
|
||||
.use(webpackNiceLog, [{name: 'Client', skipBuildTime: isProd}]);
|
||||
|
||||
// user extended webpack-chain config
|
||||
applyChainWebpack(props.siteConfig.chainWebpack, config, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue