You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For full documentation, visit [tailwindcss.com](https://tailwindcss.com).
27
+
28
+
## Community
29
+
30
+
For help, discussion about best practices, or feature ideas:
31
+
32
+
[Discuss Tailwind CSS on GitHub](https://github.com/tailwindlabs/tailwindcss/discussions)
33
+
34
+
## Contributing
35
+
36
+
If you're interested in contributing to Tailwind CSS, please read our [contributing docs](https://github.com/tailwindlabs/tailwindcss/blob/main/.github/CONTRIBUTING.md)**before submitting a pull request**.
37
+
38
+
---
39
+
40
+
## @tailwindcss/webpack
2
41
3
42
A webpack loader for Tailwind CSS v4.
4
43
@@ -8,7 +47,7 @@ A webpack loader for Tailwind CSS v4.
8
47
npm install @tailwindcss/webpack
9
48
```
10
49
11
-
## Usage
50
+
###Usage
12
51
13
52
```javascript
14
53
// webpack.config.js
@@ -34,9 +73,9 @@ Then create a CSS file that imports Tailwind:
34
73
@import'tailwindcss';
35
74
```
36
75
37
-
## Options
76
+
###Options
38
77
39
-
### `base`
78
+
####`base`
40
79
41
80
The base directory to scan for class candidates. Defaults to the current working directory.
42
81
@@ -49,7 +88,7 @@ The base directory to scan for class candidates. Defaults to the current working
49
88
}
50
89
```
51
90
52
-
### `optimize`
91
+
####`optimize`
53
92
54
93
Whether to optimize and minify the output CSS. Defaults to `true` in production mode.
0 commit comments