File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rsbuild-plugin-unplugin-vue" ,
3
- "version" : " 0.0.2 " ,
3
+ "version" : " 0.0.3 " ,
4
4
"repository" : " https://github.com/rspack-contrib/rsbuild-plugin-template" ,
5
5
"license" : " MIT" ,
6
6
"type" : " module" ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export type PluginUnpluginVueOptions = {
10
10
const isVirtualModule = ( request ?: string ) => {
11
11
if ( ! request ) return false ;
12
12
13
- return request . includes ( '/node_modules/.virtual' ) ;
13
+ return request . includes ( '/node_modules/.virtual' ) || request . includes ( '\0' ) ;
14
14
} ;
15
15
16
16
// Preprocessor defined rule in `lib` field will be suffixed with self-increasing serial number.
@@ -96,6 +96,8 @@ export const pluginUnpluginVue = ({
96
96
if ( result ) {
97
97
return callback ( undefined , false ) ;
98
98
}
99
+
100
+ callback ( ) ;
99
101
} ) ;
100
102
}
101
103
} ) ;
You can’t perform that action at this time.
0 commit comments