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

Commit

Permalink
fix(cli, core): fix detection of the 'analyze' argument
Browse files Browse the repository at this point in the history
  • Loading branch information
juliomrqz committed Mar 14, 2019
1 parent 337093a commit 1981e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/@statusfy/core/lib/utils/start-dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const start = async () => {
// Generate configuration
const { nuxtConfig, siteConfig } = generateConfig(sourceDir, cliOptions);
nuxtConfig.mode = cliOptions.ssr ? "universal" : "spa";
delete nuxtConfig.build.analyze;

portfinder
.getPortPromise()
Expand Down
2 changes: 1 addition & 1 deletion packages/@statusfy/core/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ module.exports = {
/*
** Webpack bundle analyzer
*/
analyze: process.env.NODE_ENV !== "production",
analyze: true,
/*
** Router
*/
Expand Down

0 comments on commit 1981e43

Please sign in to comment.