@tailwindcss/webpack 0.0.0-insiders.ed52d3e → 0.0.0-insiders.f302fce
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -7
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://tailwindcss.com" target="_blank">
|
|
3
|
+
<picture>
|
|
4
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tailwindlabs/tailwindcss/HEAD/.github/logo-dark.svg">
|
|
5
|
+
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/tailwindlabs/tailwindcss/HEAD/.github/logo-light.svg">
|
|
6
|
+
<img alt="Tailwind CSS" src="https://raw.githubusercontent.com/tailwindlabs/tailwindcss/HEAD/.github/logo-light.svg" width="350" height="70" style="max-width: 100%;">
|
|
7
|
+
</picture>
|
|
8
|
+
</a>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
A utility-first CSS framework for rapidly building custom user interfaces.
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a href="https://github.com/tailwindlabs/tailwindcss/actions"><img src="https://img.shields.io/github/actions/workflow/status/tailwindlabs/tailwindcss/ci.yml?branch=main" alt="Build Status"></a>
|
|
17
|
+
<a href="https://www.npmjs.com/package/tailwindcss"><img src="https://img.shields.io/npm/dt/tailwindcss.svg" alt="Total Downloads"></a>
|
|
18
|
+
<a href="https://github.com/tailwindlabs/tailwindcss/releases"><img src="https://img.shields.io/npm/v/tailwindcss.svg" alt="Latest Release"></a>
|
|
19
|
+
<a href="https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/tailwindcss.svg" alt="License"></a>
|
|
20
|
+
</p>
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Documentation
|
|
25
|
+
|
|
26
|
+
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
|
-
|
|
50
|
+
### Usage
|
|
12
51
|
|
|
13
52
|
```javascript
|
|
14
53
|
// webpack.config.js
|
|
@@ -31,13 +70,12 @@ Then create a CSS file that imports Tailwind:
|
|
|
31
70
|
|
|
32
71
|
```css
|
|
33
72
|
/* src/index.css */
|
|
34
|
-
@import 'tailwindcss
|
|
35
|
-
@import 'tailwindcss/utilities';
|
|
73
|
+
@import 'tailwindcss';
|
|
36
74
|
```
|
|
37
75
|
|
|
38
|
-
|
|
76
|
+
### Options
|
|
39
77
|
|
|
40
|
-
|
|
78
|
+
#### `base`
|
|
41
79
|
|
|
42
80
|
The base directory to scan for class candidates. Defaults to the current working directory.
|
|
43
81
|
|
|
@@ -50,7 +88,7 @@ The base directory to scan for class candidates. Defaults to the current working
|
|
|
50
88
|
}
|
|
51
89
|
```
|
|
52
90
|
|
|
53
|
-
|
|
91
|
+
#### `optimize`
|
|
54
92
|
|
|
55
93
|
Whether to optimize and minify the output CSS. Defaults to `true` in production mode.
|
|
56
94
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailwindcss/webpack",
|
|
3
|
-
"version": "0.0.0-insiders.
|
|
3
|
+
"version": "0.0.0-insiders.f302fce",
|
|
4
4
|
"description": "A webpack loader for Tailwind CSS v4.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"types": "./dist/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@alloc/quick-lru": "^5.2.0",
|
|
31
|
-
"@tailwindcss/
|
|
32
|
-
"
|
|
33
|
-
"tailwindcss": "0.0.0-insiders.
|
|
31
|
+
"@tailwindcss/oxide": "0.0.0-insiders.f302fce",
|
|
32
|
+
"tailwindcss": "0.0.0-insiders.f302fce",
|
|
33
|
+
"@tailwindcss/node": "0.0.0-insiders.f302fce"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/node": "^20.19.0",
|