Skip to content

Why build to www instead of the usual build? #5

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

Open
Muzietto opened this issue Sep 12, 2018 · 0 comments
Open

Why build to www instead of the usual build? #5

Muzietto opened this issue Sep 12, 2018 · 0 comments

Comments

@Muzietto
Copy link

I am trying to use your instructions in the README. I am still struggling with a sequel of error messages originating from the yarn run eject step: missing babel-loader, etc.

Question is: all cordova apps have their source code inside www/, so I don't understand why you use that directory as build target. I fear that the build run will wipe it away every time, forcing me to move my source code elsewhere. But then why not leave the build target where create-react-app puts it?

On the other hand, I do not see how to integrate the various cordova build <platform> commands in the collection of scripts of the React app without ejecting it.

Can you please shed some more light on this subject?

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

No branches or pull requests

1 participant