You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
used with (e.g. hapi application, another framework, standalone, ...): Flask backend, Create-React-App
any other relevant information: This is on https://repl.it, but that shouldn't be affecting this
What are you trying to achieve or the steps to reproduce?
I'm trying to use cra-build-watch to auto build my create-react-app, but the file structure of the build-watch is different than the file structure, which doesn't work for development since the Flask backend requires ./client/build/static/ to be the static files folder (client is the folder with the React app).
it just makes the same directory structure as the first tree, except everything is in the ./build/static/ folder, not just the JavaScript and CSS (the CSS also never seems to appear?)
The text was updated successfully, but these errors were encountered:
Samathingamajig
changed the title
Output file structure looks different than "npm run build"
[BUG] Output file structure looks different than "npm run build"
Dec 10, 2020
This is blocking me from releasing a feature to my django-manifest-loader package which will use cra-build-watch to help connect create-react-app to django. Would love to see a fix asap.
Support plan
Context
What are you trying to achieve or the steps to reproduce?
I'm trying to use
cra-build-watch
to auto build mycreate-react-app
, but the file structure of thebuild-watch
is different than the file structure, which doesn't work for development since the Flask backend requires./client/build/static/
to be the static files folder (client is the folder with the React app).What was the result you got?
What result did you expect?
I expected there to be a
./static/
folder with./js
inside of it.Note:
Even when I change my script to:
it just makes the same directory structure as the first tree, except everything is in the
./build/static/
folder, not just the JavaScript and CSS (the CSS also never seems to appear?)The text was updated successfully, but these errors were encountered: