unplugin-tailwindcss-mangle 0.0.0 → 0.0.1
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 +96 -1
- package/dist/classGenerator.d.ts +17 -0
- package/dist/constants.d.ts +1 -0
- package/dist/css/index.d.ts +2 -0
- package/dist/css/plugins.d.ts +7 -0
- package/dist/esbuild.d.ts +2 -0
- package/dist/esbuild.js +15 -0
- package/dist/esbuild.mjs +13 -0
- package/dist/html/index.d.ts +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +491 -0
- package/dist/index.mjs +482 -0
- package/dist/js/index.d.ts +2 -0
- package/dist/js/split.d.ts +3 -0
- package/dist/nuxt.d.ts +2 -0
- package/dist/nuxt.js +49 -0
- package/dist/nuxt.mjs +47 -0
- package/dist/rollup.d.ts +2 -0
- package/dist/rollup.js +15 -0
- package/dist/rollup.mjs +13 -0
- package/dist/types.d.ts +26 -0
- package/dist/utils.d.ts +14 -0
- package/dist/vite.d.ts +2 -0
- package/dist/vite.js +15 -0
- package/dist/vite.mjs +13 -0
- package/dist/webpack.d.ts +2 -0
- package/dist/webpack.js +15 -0
- package/dist/webpack.mjs +13 -0
- package/package.json +83 -8
package/dist/vite.mjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import unplugin from './index.mjs';
|
|
2
|
+
import 'unplugin';
|
|
3
|
+
import 'tailwindcss-patch';
|
|
4
|
+
import 'parse5';
|
|
5
|
+
import '@babel/generator';
|
|
6
|
+
import '@babel/parser';
|
|
7
|
+
import '@babel/traverse';
|
|
8
|
+
import 'postcss';
|
|
9
|
+
import 'postcss-selector-parser';
|
|
10
|
+
|
|
11
|
+
var vite = unplugin.vite;
|
|
12
|
+
|
|
13
|
+
export { vite as default };
|
package/dist/webpack.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index.js');
|
|
4
|
+
require('unplugin');
|
|
5
|
+
require('tailwindcss-patch');
|
|
6
|
+
require('parse5');
|
|
7
|
+
require('@babel/generator');
|
|
8
|
+
require('@babel/parser');
|
|
9
|
+
require('@babel/traverse');
|
|
10
|
+
require('postcss');
|
|
11
|
+
require('postcss-selector-parser');
|
|
12
|
+
|
|
13
|
+
var webpack = index.webpack;
|
|
14
|
+
|
|
15
|
+
module.exports = webpack;
|
package/dist/webpack.mjs
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import unplugin from './index.mjs';
|
|
2
|
+
import 'unplugin';
|
|
3
|
+
import 'tailwindcss-patch';
|
|
4
|
+
import 'parse5';
|
|
5
|
+
import '@babel/generator';
|
|
6
|
+
import '@babel/parser';
|
|
7
|
+
import '@babel/traverse';
|
|
8
|
+
import 'postcss';
|
|
9
|
+
import 'postcss-selector-parser';
|
|
10
|
+
|
|
11
|
+
var webpack = unplugin.webpack;
|
|
12
|
+
|
|
13
|
+
export { webpack as default };
|
package/package.json
CHANGED
|
@@ -1,23 +1,98 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unplugin-tailwindcss-mangle",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "mangle tailwindcss utilities class",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"module": "./dist/index.mjs",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"import": "./dist/index.mjs"
|
|
13
|
+
},
|
|
14
|
+
"./vite": {
|
|
15
|
+
"types": "./dist/vite.d.ts",
|
|
16
|
+
"require": "./dist/vite.js",
|
|
17
|
+
"import": "./dist/vite.mjs"
|
|
18
|
+
},
|
|
19
|
+
"./webpack": {
|
|
20
|
+
"types": "./dist/webpack.d.ts",
|
|
21
|
+
"require": "./dist/webpack.js",
|
|
22
|
+
"import": "./dist/webpack.mjs"
|
|
23
|
+
},
|
|
24
|
+
"./rollup": {
|
|
25
|
+
"types": "./dist/rollup.d.ts",
|
|
26
|
+
"require": "./dist/rollup.js",
|
|
27
|
+
"import": "./dist/rollup.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./esbuild": {
|
|
30
|
+
"types": "./dist/esbuild.d.ts",
|
|
31
|
+
"require": "./dist/esbuild.js",
|
|
32
|
+
"import": "./dist/esbuild.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./*": "./*"
|
|
35
|
+
},
|
|
36
|
+
"typesVersions": {
|
|
37
|
+
"<=4.9": {
|
|
38
|
+
"*": [
|
|
39
|
+
"./dist/*",
|
|
40
|
+
"./*"
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
6
44
|
"files": [
|
|
7
45
|
"dist"
|
|
8
46
|
],
|
|
9
|
-
"keywords": [
|
|
10
|
-
|
|
47
|
+
"keywords": [
|
|
48
|
+
"tailwindcss",
|
|
49
|
+
"utilities",
|
|
50
|
+
"mangle",
|
|
51
|
+
"class"
|
|
52
|
+
],
|
|
53
|
+
"author": "SonOfMagic <qq1324318532@gmail.com>",
|
|
54
|
+
"license": "MIT",
|
|
11
55
|
"dependencies": {
|
|
56
|
+
"@babel/generator": "^7.21.4",
|
|
57
|
+
"@babel/parser": "^7.21.4",
|
|
58
|
+
"@babel/traverse": "^7.21.4",
|
|
59
|
+
"@babel/types": "^7.21.4",
|
|
60
|
+
"acorn-walk": "^8.2.0",
|
|
61
|
+
"escodegen": "^2.0.0",
|
|
62
|
+
"parse5": "^7.1.2",
|
|
63
|
+
"postcss": "^8.4.22",
|
|
64
|
+
"postcss-selector-parser": "^6.0.11",
|
|
65
|
+
"semver": "^7.5.0",
|
|
12
66
|
"unplugin": "^1.3.1",
|
|
13
|
-
"tailwindcss-patch": "
|
|
67
|
+
"tailwindcss-patch": "1.0.0"
|
|
14
68
|
},
|
|
15
|
-
"license": "ISC",
|
|
16
69
|
"publishConfig": {
|
|
17
70
|
"access": "public",
|
|
18
71
|
"registry": "https://registry.npmjs.org/"
|
|
19
72
|
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@parse5/tools": "^0.1.0",
|
|
75
|
+
"@types/babel__generator": "^7.6.4",
|
|
76
|
+
"@types/babel__traverse": "^7.18.3",
|
|
77
|
+
"@types/escodegen": "^0.0.7",
|
|
78
|
+
"@types/semver": "^7.3.13",
|
|
79
|
+
"pkg-types": "^1.0.2",
|
|
80
|
+
"tailwindcss": "^3.3.1",
|
|
81
|
+
"tslib": "^2.5.0",
|
|
82
|
+
"vite": "^4.2.2",
|
|
83
|
+
"webpack": "^5.79.0"
|
|
84
|
+
},
|
|
85
|
+
"homepage": "https://github.com/sonofmagic/tailwindcss-mangle",
|
|
86
|
+
"repository": {
|
|
87
|
+
"type": "git",
|
|
88
|
+
"url": "git+https://github.com/sonofmagic/tailwindcss-mangle.git"
|
|
89
|
+
},
|
|
20
90
|
"scripts": {
|
|
21
|
-
"
|
|
91
|
+
"dev": "cross-env NODE_ENV=development rollup -cw",
|
|
92
|
+
"build": "cross-env NODE_ENV=production rollup -c",
|
|
93
|
+
"dev:tsc": "tsc -p tsconfig.json --sourceMap",
|
|
94
|
+
"build:tsc": "tsc -p tsconfig.json",
|
|
95
|
+
"test": "jest",
|
|
96
|
+
"preinstall": "npx only-allow pnpm"
|
|
22
97
|
}
|
|
23
98
|
}
|