Skip to content

Commit

Permalink
feat(webpack): update postcss options
Browse files Browse the repository at this point in the history
* works now for postcss-loader version 4.0.0
  • Loading branch information
marcjulian authored Sep 16, 2020
1 parent 6397746 commit d7b7389
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/ng-add/templates/webpack/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ module.exports = {
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'),
],
},
},
},
],
Expand Down

0 comments on commit d7b7389

Please sign in to comment.