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
minor #9526 [Encore] Don't enable the Sass loader at the beginning of the First Example page (Lyrkan)
This PR was submitted for the 3.3 branch but it was merged into the 3.4 branch instead (closes#9526).
Discussion
----------
[Encore] Don't enable the Sass loader at the beginning of the First Example page
Someone pointed out in symfony/webpack-encore#287 that if you follow the [First example](http://symfony.com/doc/master/frontend/encore/simple-example.html) page from top to bottom you are going to run `yarn encore` before being informed that calling `enableSassLoader()` implies adding additional dependencies (which is done just after).
~~This PR moves the related paragraph to warn the user that Encore will tell him about missing packages before he encounters the error.~~
~~I also added the "after running it" part to make it a bit more obvious that the information is going to be present in the command output.~~
**Edit:** Changed it so `enableSassLoader()` is commented before running Encore for the first time
Commits
-------
18586e2 [Encore] Don't enable the Sass loader at the beginning of the First Example page
0 commit comments