-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vue production build #217
Comments
When we've looked at this before, we've concluded that setting |
Before closing this I'd like to take a minute to understand the issue (or the symptom of a possible issue we are seeing). |
Does our migration to vite make a difference (or solve) this issue ? |
@lakardion — we should verify that by deploying a vite app with |
When setting up a vue production app without a staging app we run into the following issue:
vue-cli-service: not found
Vue CLI Service is and is meant to be a dev dependency from what I can tell, but with npm_config_production set to true in production, this causes the frontend app to not build.
I'm assuming that we haven't run into this bug before (as far as I'm aware) because we typically set up staging first and then production and we promote to production which doesn't require a rebuild of the frontend app.
However, I'm labelling this as an issue because we should be able to deploy our apps just for production as needed. My current workaround has been to just set npm_config_production=false in production which is not ideal.
A couple of approaches I tried:
The text was updated successfully, but these errors were encountered: