tailwindcss-injector 1.0.8 → 1.0.10

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 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 and @use (scss)
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 and @use (scss)
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.8",
4
+ "version": "1.0.10",
5
5
  "description": "tsup(esbuild) build package template",
6
6
  "author": "ice breaker <1324318532@qq.com>",
7
7
  "license": "MIT",
@@ -30,14 +30,17 @@
30
30
  "files": [
31
31
  "dist"
32
32
  ],
33
+ "engines": {
34
+ "node": "^20.19.0 || >=22.12.0"
35
+ },
33
36
  "dependencies": {
34
- "fs-extra": "^11.3.2",
35
- "htmlparser2": "^10.0.0",
36
- "magic-string": "^0.30.19",
37
+ "fs-extra": "^11.3.3",
38
+ "htmlparser2": "^10.1.0",
39
+ "magic-string": "^0.30.21",
37
40
  "postcss": "^8.5.6",
38
- "tailwindcss": "^3.4.17",
39
- "@weapp-tailwindcss/shared": "1.1.0",
40
- "tailwindcss-config": "1.1.2"
41
+ "tailwindcss": "^3.4.19",
42
+ "@weapp-tailwindcss/shared": "1.1.2",
43
+ "tailwindcss-config": "1.1.4"
41
44
  },
42
45
  "scripts": {
43
46
  "dev": "tsup --watch --sourcemap",