Hi looks like you are using postcss-loader in version 4.x. Update your webpack.config.js as follows
postcss-loader
module.exports = { module: { rules: [ { test: /\.scss$/, loader: 'postcss-loader', options: { - ident: 'postcss', - syntax: 'postcss-scss', - plugins: () => [ - require('postcss-import'), - require('tailwindcss'), - require('autoprefixer'), - ], + postcssOptions: { + ident: 'postcss', + syntax: 'postcss-scss', + plugins: [ + require('postcss-import'), + require('tailwindcss'), + require('autoprefixer'), ], }, }, }, ], }, };
The blog post has been updated to reflect the changes needed for postcss-loader 4.x
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi looks like you are using
postcss-loader
in version 4.x. Update your webpack.config.js as followsThe blog post has been updated to reflect the changes needed for
postcss-loader
4.x