We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e33036e commit d3d9e5cCopy full SHA for d3d9e5c
webpack.config.js
@@ -13,6 +13,8 @@ import {readFileSync} from 'node:fs';
13
import {env} from 'node:process';
14
import tailwindcss from 'tailwindcss';
15
import tailwindConfig from './tailwind.config.js';
16
+import tailwindcssNesting from 'tailwindcss/nesting/index.js';
17
+import postcssNesting from 'postcss-nesting';
18
19
const {EsbuildPlugin} = EsBuildLoader;
20
const {SourceMapDevToolPlugin, DefinePlugin} = webpack;
@@ -153,7 +155,7 @@ export default {
153
155
postcssOptions: {
154
156
map: false, // https://github.com/postcss/postcss/issues/1914
157
plugins: [
- 'tailwindcss/nesting',
158
+ tailwindcssNesting(postcssNesting({edition: '2024-02'})),
159
tailwindcss(tailwindConfig)
160
],
161
},
0 commit comments