Skip to content

Commit cad85c4

Browse files
committed
minor #11028 Update example config (Nyholm)
This PR was submitted for the 4.2 branch but it was merged into the 3.4 branch instead (closes #11028). Discussion ---------- Update example config According to the docs: https://github.com/postcss/postcss-loader#path One cannot change the filename, only the path. Commits ------- ae44b1a Update example config
2 parents 5a4a8fc + ae44b1a commit cad85c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

frontend/encore/postcss.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ You can also pass options to the `postcss-loader`_ by passing a callback:
4848
// ...
4949
+ .enablePostCssLoader((options) => {
5050
+ options.config = {
51-
+ path: 'app/config/postcss.config.js'
51+
+ // the directory where the postcss.config.js file is stored
52+
+ path: 'path/to/config'
5253
+ };
5354
+ })
5455
;

0 commit comments

Comments
 (0)