You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The loader will search up the directory tree for configuration in the following places:
a postcss property in package.json
a .postcssrc file in JSON or YAML format
a .postcss.json, .postcss.yaml, .postcss.yml, .postcss.js, or .postcss.cjs file
a postcss.config.js or postcss.config.cjs CommonJS module exporting an object (recommended)
I'm updating webpack stack for v5 and checking any changes in all loaders along the way.
It stood out that naming of the dotfiles has been changed.
Tried using .postcss.js instead of .postcssrc.js.
Naming PostCSS config file .postcss.js does not yield result, while naming it as previously .postcssrc.js does yield result (prefixes and minification).
Uh oh!
There was an error while loading. Please reload this page.
Documentation Is:
Please Explain in Detail...
The docs state that
I'm updating webpack stack for v5 and checking any changes in all loaders along the way.
.postcss.js
instead of.postcssrc.js
..postcss.js
does not yield result, while naming it as previously.postcssrc.js
does yield result (prefixes and minification)..postcss.js
is not mentioned, but.postcssrc.js
is at postcss-load-configAn example:
.postcssrc.js
.browserslistrc
Versions used:
Your Proposal for Changes
As I am not sure if it is error in the docs or the naming is "about to be changed". I'm proposing to revise the docs.
That is, maybe the docs are wrong and are missing the "rc" part in dotfile cases
Thanks
The text was updated successfully, but these errors were encountered: