-
Notifications
You must be signed in to change notification settings - Fork 654
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
bug: build flags not passed to vue-cli-service #4642
Comments
Related to #3769 (comment) ? As --hmr flag is also not passed on? (even though Angular) |
I second OP, there is definitely an issue with the It affects all commands that ultimately make use of the So instead of just using this appropriate command: -----------> I now have to manually build the project without using Ionic build: Then I have to copy webassets to the native project, and remember to not build the app: Then finally I can open the XCode project and set about running the app in an emulator or whatever: Hopefully this gets fixed very soon! As it's very prone to remember these workarounds, especially for new developers coming into the team. |
Experiencing the same issue |
I've created a work around for now by creating a script that changes the env variables. You can run it by running deploy.js
|
Experiencing this issue as well. It makes testing and deployment somewhat more complicated. |
Having the same issue... |
@bstras21, in my environment
(note that an additional My
|
Description:
Custom build flags are not being passed to
vue-cli-service
preventing users from making development builds.Steps to Reproduce:
ionic start --type=vue
. Any template is fine.ionic build -- --mode development
. Notice that it still says "Building for production..."I would expect that the
mode
flag gets passed so thatvue-cli-service
builds for development.Note: The following command works as expected:
npm run build -- --mode development
My
ionic info
:The text was updated successfully, but these errors were encountered: