@dcasia/mini-program-tailwind-webpack-plugin
Advanced tools
Comparing version 1.4.2 to 1.4.3
@@ -8,3 +8,4 @@ export declare enum FileType { | ||
Vue2 = "vue", | ||
Vue3 = "vue3" | ||
Vue3 = "vue3", | ||
Preact = "preact" | ||
} | ||
@@ -11,0 +12,0 @@ export declare enum TaroPlatform { |
@@ -42,2 +42,3 @@ 'use strict'; | ||
TaroFramework["Vue3"] = "vue3"; | ||
TaroFramework["Preact"] = "preact"; | ||
})(TaroFramework || (TaroFramework = {})); | ||
@@ -44,0 +45,0 @@ var TaroPlatform; |
@@ -77,2 +77,3 @@ 'use strict'; | ||
TaroFramework["Vue3"] = "vue3"; | ||
TaroFramework["Preact"] = "preact"; | ||
})(TaroFramework || (TaroFramework = {})); | ||
@@ -243,2 +244,3 @@ var TaroPlatform; | ||
_a[TaroFramework.Vue3] = ['class'], | ||
_a[TaroFramework.Preact] = ['className'], | ||
_a); | ||
@@ -245,0 +247,0 @@ function replaceStringLiteralPlugin(_a) { |
@@ -80,2 +80,3 @@ 'use strict'; | ||
TaroFramework["Vue3"] = "vue3"; | ||
TaroFramework["Preact"] = "preact"; | ||
})(TaroFramework || (TaroFramework = {})); | ||
@@ -248,2 +249,3 @@ var TaroPlatform; | ||
_a$1[TaroFramework.Vue3] = ['class'], | ||
_a$1[TaroFramework.Preact] = ['className'], | ||
_a$1); | ||
@@ -442,2 +444,3 @@ function isIdentifierTheClassField(path, framework) { | ||
_a[TaroFramework.Vue3] = ['type=template'], | ||
_a[TaroFramework.Preact] = ['.jsx', '.tsx'], | ||
_a); | ||
@@ -444,0 +447,0 @@ var TaroVNodeTailwindWebpackPlugin = /** @class */ (function () { |
@@ -43,2 +43,3 @@ 'use strict'; | ||
TaroFramework["Vue3"] = "vue3"; | ||
TaroFramework["Preact"] = "preact"; | ||
})(TaroFramework || (TaroFramework = {})); | ||
@@ -226,2 +227,3 @@ var TaroPlatform; | ||
_a[TaroFramework.Vue3] = ['class'], | ||
_a[TaroFramework.Preact] = ['className'], | ||
_a); | ||
@@ -228,0 +230,0 @@ function replaceStringLiteralPlugin(_a) { |
172
package.json
{ | ||
"name": "@dcasia/mini-program-tailwind-webpack-plugin", | ||
"version": "1.4.2", | ||
"description": "让你的小程序用上原汁原味的 Tailwind/Windi CSS", | ||
"keywords": [ | ||
"mini-program", | ||
"tailwind", | ||
"tailwindcss", | ||
"windicss", | ||
"wechat", | ||
"taro", | ||
"css", | ||
"postcss", | ||
"uni-app", | ||
"miniprogram", | ||
"weapp", | ||
"atomic-css", | ||
"unocss" | ||
], | ||
"main": "dist/index.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./taro": "./dist/taro.js", | ||
"./universal-handler": "./dist/universal-handler.js", | ||
"./rollup": "./dist/rollup.js" | ||
}, | ||
"types": "dist/dts/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"taro": [ | ||
"dist/dts/taro/index.d.ts" | ||
], | ||
"universal-handler": [ | ||
"dist/dts/universal-handler.d.ts" | ||
], | ||
"rollup": [ | ||
"dist/dts/rollup/index.d.ts" | ||
] | ||
"name": "@dcasia/mini-program-tailwind-webpack-plugin", | ||
"version": "1.4.3", | ||
"description": "让你的小程序用上原汁原味的 Tailwind/Windi CSS", | ||
"keywords": [ | ||
"mini-program", | ||
"tailwind", | ||
"tailwindcss", | ||
"windicss", | ||
"wechat", | ||
"taro", | ||
"css", | ||
"postcss", | ||
"uni-app", | ||
"miniprogram", | ||
"weapp", | ||
"atomic-css", | ||
"unocss" | ||
], | ||
"main": "dist/index.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"exports": { | ||
".": "./dist/index.js", | ||
"./taro": "./dist/taro.js", | ||
"./universal-handler": "./dist/universal-handler.js", | ||
"./rollup": "./dist/rollup.js" | ||
}, | ||
"types": "dist/dts/index.d.ts", | ||
"typesVersions": { | ||
"*": { | ||
"taro": [ | ||
"dist/dts/taro/index.d.ts" | ||
], | ||
"universal-handler": [ | ||
"dist/dts/universal-handler.d.ts" | ||
], | ||
"rollup": [ | ||
"dist/dts/rollup/index.d.ts" | ||
] | ||
} | ||
}, | ||
"scripts": { | ||
"test": "jest", | ||
"lint": "eslint . --ext .ts --fix", | ||
"build": "rollup --config rollup.config.ts", | ||
"prepare": "npm run build", | ||
"publish": "npm publish --public", | ||
"publish:beta": "npm publish --public --tag beta" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/dcasia/mini-program-tailwind.git" | ||
}, | ||
"author": "Ryan Wu <toryanwu@gmail.com>", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/dcasia/mini-program-tailwind/issues" | ||
}, | ||
"homepage": "https://github.com/dcasia/mini-program-tailwind#readme", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^21.0.2", | ||
"@rollup/plugin-multi-entry": "^4.1.0", | ||
"@rollup/plugin-typescript": "^8.3.1", | ||
"@tarojs/service": "^3.4.9", | ||
"@types/jest": "^27.4.1", | ||
"@typescript-eslint/eslint-plugin": "^5.13.0", | ||
"@typescript-eslint/parser": "^5.13.0", | ||
"eslint": "^8.10.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-digital-creative": "github:dcasia/digital-creative-eslint-plugin", | ||
"eslint-plugin-import": "^2.25.4", | ||
"jest": "^27.5.1", | ||
"rollup": "^2.68.0", | ||
"rollup-plugin-dts": "^4.2.1", | ||
"tslib": "^2.4.0", | ||
"vite": "^2.9.9", | ||
"webpack": "^5.69.1" | ||
}, | ||
"dependencies": { | ||
"@babel/core": "^7.17.5", | ||
"@vivaxy/wxml": "^2.1.0", | ||
"postcss": "^8.4.7", | ||
"webpack-sources": "^1.4.3", | ||
"windicss-webpack-plugin": "^1.7.2" | ||
} | ||
}, | ||
"scripts": { | ||
"test": "jest", | ||
"lint": "eslint . --ext .ts --fix", | ||
"build": "rollup --config rollup.config.ts", | ||
"prepare": "npm run build", | ||
"publish": "npm publish --public", | ||
"publish:beta": "npm publish --public --tag beta" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/dcasia/mini-program-tailwind.git" | ||
}, | ||
"author": "Ryan Wu <toryanwu@gmail.com>", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/dcasia/mini-program-tailwind/issues" | ||
}, | ||
"homepage": "https://github.com/dcasia/mini-program-tailwind#readme", | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^21.0.2", | ||
"@rollup/plugin-multi-entry": "^4.1.0", | ||
"@rollup/plugin-typescript": "^8.3.1", | ||
"@tarojs/service": "^3.4.9", | ||
"@types/jest": "^27.4.1", | ||
"@typescript-eslint/eslint-plugin": "^5.13.0", | ||
"@typescript-eslint/parser": "^5.13.0", | ||
"eslint": "^8.10.0", | ||
"eslint-config-airbnb-base": "^15.0.0", | ||
"eslint-plugin-digital-creative": "github:dcasia/digital-creative-eslint-plugin", | ||
"eslint-plugin-import": "^2.25.4", | ||
"jest": "^27.5.1", | ||
"rollup": "^2.68.0", | ||
"rollup-plugin-dts": "^4.2.1", | ||
"tslib": "^2.4.0", | ||
"vite": "^2.9.9", | ||
"webpack": "^5.69.1" | ||
}, | ||
"dependencies": { | ||
"@babel/core": "^7.17.5", | ||
"@vivaxy/wxml": "^2.1.0", | ||
"postcss": "^8.4.7", | ||
"webpack-sources": "^1.4.3", | ||
"windicss-webpack-plugin": "^1.7.2" | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106412
2089