coryhouse / coryhouse/javascript-development-environment

dynamic html generation problem with webpack 3

Aperta
#19 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
293
Fork
185
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

really appreciate your efforts and the information given within course. love it.

i followed course and wanted to use it in my react app whereas I used all `latest` perhaps except webpack, currently I am using webpack 3. did some minor changes in webpack config you mentioned earlier.
however strange thing is going on with injecting the it injects the <script src="bundle.js"/>`

` "/seasons" => nothing is injected`

not sure what is the reason, i thought maybe React-Router 4.0 is failing but I think it is actually from configuration things to do with `HtmlWebpackPlugin`. Since `bundle.js` not being injected.

Earlier I used in my old application two separate template files( dev, prod) so in production one i can do code splitting

please can you give me hand to identify my problem. for now I get back to my old configuration.
the video only shows generic configuration without putting React maybe i am doing something wrong.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.