Choose a build location with react-scripts-parcel (outputs)
MichelDiz opened this issue · 2 comments
MichelDiz commented
Hi there!
How to do something like this?
"build": "react-scripts-parcel build ./public/index.html -d build/ --public-url ./",
I'm using (and work):
"build": "parcel build ./public/index.html -d ./build --public-url ./",
but I'm not sure if it's ok. Trying out Parcel with ElectronJS.
Cheers
swyxio commented
hmm. you might be able to just add "build:parcel": "parcel build ./public/index.html -d ./build --public-url ./",
to your npm scripts.
MichelDiz commented
Okay, as the option does not exist and using "parcel build" has no problems, so the issue is resolved.
Thank you!