Commit 2a330a3
committed
feature #961 Remove stylesheet entries from Encore config (voronkovich)
This PR was merged into the master branch.
Discussion
----------
Remove stylesheet entries from Encore config
The documentation says:
> **Using addStyleEntry() is supported, but not recommended**. A better option is to use follow the pattern above: use addEntry() to point to a JavaScript file, then require the CSS needed from inside of that.
> With Encore, think of your app.js file like a standalone JavaScript application: it will require all of the dependencies it needs (e.g. jQuery or React), including any CSS.
See https://symfony.com/doc/current/frontend/encore/simple-example.html#compiling-only-a-css-file
Commits
-------
abfbd48 Remove stylesheet entries from Encore configFile tree
26 files changed
+74
-80
lines changed- assets/js
- public/build
- css
- js
- templates
- admin
- blog
- security
26 files changed
+74
-80
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments