We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13bce41 commit 6f40cd9Copy full SHA for 6f40cd9
src/ng-add/files/webpack.config.js.template
@@ -11,13 +11,15 @@ module.exports = (config) => {
11
test: /\.<%= cssFlavor %>$/,
12
loader: 'postcss-loader',
13
options: {
14
- ident: 'postcss',<% if(cssFlavor !== 'css') {%>
15
- syntax: 'postcss-<%= cssFlavor %>',<% } %>
16
- plugins: () => [
17
- require('postcss-import'),
18
- require('tailwindcss')(tailwindConfig),
19
- require('autoprefixer'),
20
- ]
+ postcssOptions: {
+ ident: 'postcss',<% if(cssFlavor !== 'css') {%>
+ syntax: 'postcss-<%= cssFlavor %>',<% } %>
+ plugins: [
+ require('postcss-import'),
+ require('tailwindcss')(tailwindConfig),
+ require('autoprefixer'),
21
+ ]
22
+ }
23
}
24
25
]
0 commit comments