Skip to content

Commit

Permalink
fix nesting transpilation for css files
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Mar 14, 2024
1 parent e89bc0d commit 9a7482f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ export default {
sourceMap: sourceMaps === 'true',
url: {filter: filterCssImport},
import: {filter: filterCssImport},
importLoaders: 1,
},
},
{
Expand All @@ -156,7 +157,7 @@ export default {
map: false, // https://github.com/postcss/postcss/issues/1914
plugins: [
tailwindcssNesting(postcssNesting({edition: '2024-02'})),
tailwindcss(tailwindConfig)
tailwindcss(tailwindConfig),
],
},
},
Expand Down

0 comments on commit 9a7482f

Please sign in to comment.