Skip to content

Commit

Permalink
Compatible with Vue 3 setup script build mode (#48)
Browse files Browse the repository at this point in the history
* compatible with Vue 3 setup script build mode

* bump version from 1.5.0 to 1.5.1
  • Loading branch information
ItsRyanWu committed Jul 31, 2022
1 parent b489fbf commit bf08b68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dcasia/mini-program-tailwind-webpack-plugin",
"version": "1.5.0",
"version": "1.5.1",
"description": "让你的小程序用上原汁原味的 Tailwind/Windi CSS",
"keywords": [
"mini-program",
Expand Down
2 changes: 1 addition & 1 deletion src/taro/wepack-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { regExpJS } from '../utilities'
const frameworkModuleCharacteristics = {
[ TaroFramework.React ]: [ '.jsx', '.tsx' ],
[ TaroFramework.Vue2 ]: [ 'type=template' ],
[ TaroFramework.Vue3 ]: [ 'type=template' ],
[ TaroFramework.Vue3 ]: [ 'type=template', 'type=script&setup=true' ],
[ TaroFramework.Preact ]: [ '.jsx', '.tsx' ],
}

Expand Down

0 comments on commit bf08b68

Please sign in to comment.