This repository was archived by the owner on Feb 18, 2022. It is now read-only.
This repository was archived by the owner on Feb 18, 2022. It is now read-only.
Webpack example seems to be incorrect #241
Closed
Description
Reading the docs for post-css loader, this are the valid options:
module.exports = {
module: {
rules: [
{
test: /\.css$/i,
use: [
"style-loader",
"css-loader",
{
loader: "postcss-loader",
options: {
postcssOptions: {
plugins: [
[
"postcss-preset-env",
{
// Options
},
],
],
},
},
},
],
},
],
},
};
But the docs at this repository says something different. What is the correct way of doing it? This seems to be the case for both webpack 4 and 5
Metadata
Metadata
Assignees
Labels
No labels