File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ const externalTypes = [
34
34
'svelte' ,
35
35
'marko' ,
36
36
'astro' ,
37
+ 'imba' ,
37
38
// JSX/TSX may be configured to be compiled differently from how esbuild
38
39
// handles it by default, so exclude them as well
39
40
'jsx' ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ type ResolveIdOptions = Parameters<PluginContainer['resolveId']>[2]
29
29
30
30
const debug = createDebugger ( 'vite:deps' )
31
31
32
- const htmlTypesRE = / \. ( h t m l | v u e | s v e l t e | a s t r o ) $ /
32
+ const htmlTypesRE = / \. ( h t m l | v u e | s v e l t e | a s t r o | i m b a ) $ /
33
33
34
34
// A simple regex to detect import sources. This is only used on
35
35
// <script lang="ts"> blocks in vue (setup only) or svelte files, since
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ export const isDataUrl = (url: string): boolean => dataUrlRE.test(url)
276
276
export const virtualModuleRE = / ^ v i r t u a l - m o d u l e : .* /
277
277
export const virtualModulePrefix = 'virtual-module:'
278
278
279
- const knownJsSrcRE = / \. ( ( j | t ) s x ? | m [ j t ] s | v u e | m a r k o | s v e l t e | a s t r o ) ( $ | \? ) /
279
+ const knownJsSrcRE = / \. ( ( j | t ) s x ? | m [ j t ] s | v u e | m a r k o | s v e l t e | a s t r o | i m b a ) ( $ | \? ) /
280
280
export const isJSRequest = ( url : string ) : boolean => {
281
281
url = cleanUrl ( url )
282
282
if ( knownJsSrcRE . test ( url ) ) {
You can’t perform that action at this time.
0 commit comments