#3555 (React: main.js is not copied with the collectstatic command)
by khchine5 · in Developers · assigned to khchine5
Kurzbeschreibung
The main.js file is not correctly copied with the collecstatic command .
Kinder
Kommentare
- 6 Jahre, 6 Monate ago von khchine5 about #3555 (React: main.js is not copied with the collectstatic command) : Fixed, removing the wrong main.js and replaced by the correct one.
- 6 Jahre, 6 Monate ago von khchine5 about #3555 (React: main.js is not copied with the collectstatic command) : staticfiles-dirs is where the static files are , this is used by collectstatic. The default value is [] . I need to find a way to include the static folder of react on both case , pip installation and git clone and make sure to keep others packages to get collected correctly.
- 6 Jahre, 6 Monate ago von Luc Saffre about #3555 (React: main.js is not copied with the collectstatic command) : Sounds weird. Show me this!
- 6 Jahre, 6 Monate ago von khchine5 about #3555 (React: main.js is not copied with the collectstatic command) : Thinking of setting STATICFILES_DIRS to include static files for the react project.
- 6 Jahre, 6 Monate ago von khchine5 about #3555 (React: main.js is not copied with the collectstatic command) : Build the project in the correct folder for collectstatic command.
- 6 Jahre, 6 Monate ago von khchine5 about #3555 (React: main.js is not copied with the collectstatic command) : I think I fixed this. I will make a release and test it on hobbit.