File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ file:
21
21
# config/packages/webpack_encore.yaml
22
22
webpack_encore :
23
23
# The path where Encore is building the assets - i.e. Encore.setOutputPath()
24
- output_path : ' %kernel.public_dir% /build'
24
+ output_path : ' %kernel.project_dir%/public /build'
25
25
26
26
# if you have multiple builds:
27
27
# builds:
28
28
# pass "frontend" as the 3rg arg to the Twig functions
29
29
# {{ encore_entry_script_tags('entry1', null, 'frontend') }}
30
30
31
- # frontend: '%kernel.public_dir% /frontend/build'
31
+ # frontend: '%kernel.project_dir%/public /frontend/build'
32
32
```
33
33
34
34
## Usage
@@ -53,7 +53,7 @@ enable it manually:
53
53
When you enable ` splitEntryChunks() ` , instead of just needing 1 script tag
54
54
for ` entry1.js ` and 1 link tag for ` entry1.css ` , you may now need * multiple*
55
55
script and link tags. This is because Webpack [ "splits" your files] ( https://webpack.js.org/plugins/split-chunks-plugin/ )
56
- into smaller pieces for greater optimization.
56
+ into smaller pieces for greater optimization.
57
57
58
58
To help with this, Encore writes a ` entrypoints.json ` file that contains
59
59
all of the files needed for each "entry".
You can’t perform that action at this time.
0 commit comments