Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 57a7a12

Browse filesBrowse files
committed
Fixes for #8084 thanks to Stof
1 parent 8cfcc90 commit 57a7a12
Copy full SHA for 57a7a12

File tree

3 files changed

+8
-8
lines changed
Filter options

3 files changed

+8
-8
lines changed

‎frontend/encore/advanced-config.rst

Copy file name to clipboardExpand all lines: frontend/encore/advanced-config.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ But be careful not to accidentally override any config from Encore:
3535
// ...
3636
3737
// GOOD - this modifies the config.resolve.extensions array
38-
// config.resolve.extensions.push('json');
38+
config.resolve.extensions.push('json');
3939
4040
// BAD - this replaces any extensions added by Encore
4141
// config.resolve.extensions = ['json'];

‎frontend/encore/custom-loaders-plugins.rst

Copy file name to clipboardExpand all lines: frontend/encore/custom-loaders-plugins.rst
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ additional information your need for the loader
2828
// ...
2929
.addLoader({
3030
test: /\.handlebars$/,
31-
loader: 'handlebars-loader',
32-
query: {
33-
helperDirs: [
34-
__dirname + '/helpers1',
35-
__dirname + '/helpers2',
31+
loader: 'handlebars-loader',
32+
options: {
33+
helperDirs: [
34+
__dirname + '/helpers1',
35+
__dirname + '/helpers2',
3636
],
3737
partialDirs: [
3838
path.join(__dirname, 'templates', 'partials')
3939
]
40-
}
40+
}
4141
})
4242
;
4343

‎frontend/encore/faq.rst

Copy file name to clipboardExpand all lines: frontend/encore/faq.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ like ``/myAppSubdir``), you just need to configure that when calling ``Encore.se
2121
2222
+ // this is now needed so that your manifest.json keys are still `build/foo.js`
2323
+ // i.e. you won't need to change anything in your Symfony app
24-
+ config.setManifestKeyPrefix('build')
24+
+ .setManifestKeyPrefix('build')
2525
;
2626
2727
If you're :ref:`processing your assets through manifest.json <load-manifest-files>`,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.