File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @dcasia/mini-program-tailwind-webpack-plugin" ,
3- "version" : " 1.5.3 " ,
3+ "version" : " 1.5.4 " ,
44 "description" : " 让你的小程序用上原汁原味的 Tailwind/Windi CSS" ,
55 "keywords" : [
66 " mini-program" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { regExpJS } from '../utilities'
88const frameworkModuleCharacteristics = {
99 [ TaroFramework . React ] : [ '.jsx' , '.tsx' ] ,
1010 [ TaroFramework . Vue2 ] : [ 'type=template' ] ,
11- [ TaroFramework . Vue3 ] : [ 'type=template' , 'type=script& setup=true' ] ,
11+ [ TaroFramework . Vue3 ] : [ 'type=template' , 'setup=true' ] ,
1212 [ TaroFramework . Preact ] : [ '.jsx' , '.tsx' ] ,
1313}
1414
@@ -57,6 +57,9 @@ export default class TaroVNodeTailwindWebpackPlugin implements WebpackPluginInst
5757
5858 for ( const module of Array . from ( modules ) ) {
5959
60+ // @ts -ignore
61+ console . log ( module ?. _source ?. _valueAsString )
62+
6063 for ( const charc of this . moduleCharcs ) {
6164
6265 // @ts -ignore
You can’t perform that action at this time.
0 commit comments