Skip to content

Commit 9a7482f

Browse files
committed
fix nesting transpilation for css files
1 parent e89bc0d commit 9a7482f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ export default {
147147
sourceMap: sourceMaps === 'true',
148148
url: {filter: filterCssImport},
149149
import: {filter: filterCssImport},
150+
importLoaders: 1,
150151
},
151152
},
152153
{
@@ -156,7 +157,7 @@ export default {
156157
map: false, // https://github.com/postcss/postcss/issues/1914
157158
plugins: [
158159
tailwindcssNesting(postcssNesting({edition: '2024-02'})),
159-
tailwindcss(tailwindConfig)
160+
tailwindcss(tailwindConfig),
160161
],
161162
},
162163
},

0 commit comments

Comments
 (0)