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
feature symfony#8204 Reworded some explanations in the basic Webpack Encore example (javiereguiluz)
This PR was squashed before being merged into the 3.3 branch (closessymfony#8204).
Discussion
----------
Reworded some explanations in the basic Webpack Encore example
There are two main ways of using Webpack:
* Old apps: generate 1 app.css and 1 app.js file for the entire website
* New apps: generate 1 CSS and 1 JS for each "entry" (each important section)
I feel that the existing article tries to mix both. That's why we use "global.scss" as the name of the CSS file instead of "app.scss" to avoid name collisions with the "app.css" generated by "app.js" entry.
I propose to use first the old way and then explain better the modern way.
Commits
-------
478b93d More rewords and removed the addStyleEntry() method
f855793 Typo
381570d Reworded some explanations in the basic Webpack Encore example
0 commit comments