-
Notifications
You must be signed in to change notification settings - Fork 853
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
Move images in public folder into "images" in src folder #948
Comments
I would like to take this up :) |
Oh, I didn't notice your comment. I was in the process of creating a PR myself :P |
@Remorax will you be sending another PR or can I send one? 😄 |
Sure, go ahead @anshumanv :) |
Alright, thanks @Remorax 👍 |
@mariobehling the scaffolding tool we use is create-react-app which has some restrictions attached. They expect all of the static files(which are copied directly while bundling the app) like favicon etc in the public folder and once we run |
@anshumanv we could have pre compile script that we should run before npm install in the app.json which copies images to public folder for us and at last cleans up the folder, what do you think? |
We can always go for such workarounds, but I'd suggest sticking to the one suggested by cra. |
??? |
create-react-app. |
@mariobehling status on this |
I can work on this, the other way. (Workaround) |
All source files including images should be in the src folder.
The text was updated successfully, but these errors were encountered: