Skip to content

Commit 28f4b0a

Browse files
fix: temp fix to skip transformInclude
1 parent 28de1d4 commit 28f4b0a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/index.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,15 @@ export const unpluginFactory: UnpluginFactory<Options | undefined> = (
148148
// webpack's id filter is outside of loader logic,
149149
// an additional hook is needed for better perf on webpack
150150
transformInclude(id: string) {
151-
return (
152-
id.endsWith('.vue') ||
153-
id.includes('@formkit/vue') ||
154-
id.includes('@formkit_vue') ||
155-
id.endsWith('packages/vue/dist/index.mjs')
156-
)
151+
// TODO: resolve why @formkit/vue is not always identifiable by the id
152+
// and remove this early return workaround:
153+
return true
154+
// return (
155+
// id.endsWith('.vue') ||
156+
// id.includes('@formkit/vue') ||
157+
// id.includes('@formkit_vue') ||
158+
// id.endsWith('packages/vue/dist/index.mjs')
159+
// )
157160
},
158161

159162
// just like rollup transform

0 commit comments

Comments
 (0)