tailwindcss-injector 1.0.8-alpha.0 → 1.0.9
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/dist/postcss.cjs +3 -3
- package/dist/postcss.js +3 -3
- package/package.json +5 -5
package/dist/postcss.cjs
CHANGED
|
@@ -27,7 +27,7 @@ function getDefaultConfig() {
|
|
|
27
27
|
directiveParams: ["utilities", "components"],
|
|
28
28
|
cwd: _process2.default.cwd(),
|
|
29
29
|
extensions: ["wxml", "js", "ts"],
|
|
30
|
-
// @import
|
|
30
|
+
// 处理 @import 与 @use(SCSS)
|
|
31
31
|
insertAfterAtRulesNames: ["import", "use"],
|
|
32
32
|
insertAfterComments: ["@import"]
|
|
33
33
|
};
|
|
@@ -50,9 +50,9 @@ var srcImportTagsMap = {
|
|
|
50
50
|
// audio: ['src', 'poster'],
|
|
51
51
|
// video: ['src', 'poster'],
|
|
52
52
|
// image: ['src'],
|
|
53
|
-
// https://developers.weixin.qq.com/miniprogram/dev/reference/wxs/01wxs-module.html
|
|
53
|
+
// 参考:https://developers.weixin.qq.com/miniprogram/dev/reference/wxs/01wxs-module.html
|
|
54
54
|
// wxs: ['src'],
|
|
55
|
-
// https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/import.html
|
|
55
|
+
// 参考:https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/import.html
|
|
56
56
|
import: ["src"],
|
|
57
57
|
include: ["src"]
|
|
58
58
|
};
|
package/dist/postcss.js
CHANGED
|
@@ -27,7 +27,7 @@ function getDefaultConfig() {
|
|
|
27
27
|
directiveParams: ["utilities", "components"],
|
|
28
28
|
cwd: process.cwd(),
|
|
29
29
|
extensions: ["wxml", "js", "ts"],
|
|
30
|
-
// @import
|
|
30
|
+
// 处理 @import 与 @use(SCSS)
|
|
31
31
|
insertAfterAtRulesNames: ["import", "use"],
|
|
32
32
|
insertAfterComments: ["@import"]
|
|
33
33
|
};
|
|
@@ -50,9 +50,9 @@ var srcImportTagsMap = {
|
|
|
50
50
|
// audio: ['src', 'poster'],
|
|
51
51
|
// video: ['src', 'poster'],
|
|
52
52
|
// image: ['src'],
|
|
53
|
-
// https://developers.weixin.qq.com/miniprogram/dev/reference/wxs/01wxs-module.html
|
|
53
|
+
// 参考:https://developers.weixin.qq.com/miniprogram/dev/reference/wxs/01wxs-module.html
|
|
54
54
|
// wxs: ['src'],
|
|
55
|
-
// https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/import.html
|
|
55
|
+
// 参考:https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/import.html
|
|
56
56
|
import: ["src"],
|
|
57
57
|
include: ["src"]
|
|
58
58
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss-injector",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.9",
|
|
5
5
|
"description": "tsup(esbuild) build package template",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"fs-extra": "^11.3.2",
|
|
35
35
|
"htmlparser2": "^10.0.0",
|
|
36
|
-
"magic-string": "^0.30.
|
|
36
|
+
"magic-string": "^0.30.21",
|
|
37
37
|
"postcss": "^8.5.6",
|
|
38
|
-
"tailwindcss": "^3.4.
|
|
39
|
-
"@weapp-tailwindcss/shared": "1.1.
|
|
40
|
-
"tailwindcss-config": "1.1.
|
|
38
|
+
"tailwindcss": "^3.4.18",
|
|
39
|
+
"@weapp-tailwindcss/shared": "1.1.1",
|
|
40
|
+
"tailwindcss-config": "1.1.3"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"dev": "tsup --watch --sourcemap",
|