Skip to content

Commit ae44b1a

Browse files
Nyholmjaviereguiluz
authored andcommitted
Update example config
According to the docs: https://github.com/postcss/postcss-loader#path One cannot change the filename, only the path.
1 parent 5a4a8fc commit ae44b1a

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)