coryhouse / coryhouse/javascript-development-environment
dynamic html generation problem with webpack 3
- Langage dominant
- JavaScript
- Étoiles
- 293
- Forks
- 185
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par reproduire la configuration de webpack 3 avec React Router 4.0 et comparez le HTML généré pour `/` et `/seasons`. Lisez la configuration webpack et la configuration de HtmlWebpackPlugin mentionnées dans l’issue ; c’est terminé lorsque la page générée injecte `bundle.js` pour les deux routes.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript, react, webpack
- Domaine
- build-system, frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100