Skip to content

Conversation

hmillison
Copy link
Contributor

This fixes an issue relating to this bug #13.

If you are trying to build your app for "production" with modes that are not named "production", this web server fails to start because our build was not properly configured for production.

This fixes this issue by using NODE_ENV to determine if you are building for production so we can have multiple modes for staging/production/development that all do a production build (https://cli.vuejs.org/guide/mode-and-env.html#example-staging-mode)

@rdunk
Copy link
Contributor

rdunk commented Oct 7, 2019

Any update on this one? I'm trying to build for several different environments using CLI modes but running into problems.

@Akryum Akryum merged commit ad49f88 into Akryum:master Oct 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants