File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ function patchRecast() {
1212 // https://github.com/benjamn/recast/issues/611
1313 name : 'patch-recast' ,
1414 setup ( build ) {
15- build . onLoad ( { filter : / r e c a s t \/ l i b \/ p a t c h e r \. j s $ / } , async ( args ) => {
15+ build . onLoad ( { filter : / r e c a s t [ \/ \\ ] l i b [ \/ \\ ] p a t c h e r \. j s $ / } , async ( args ) => {
1616 let original = await fs . promises . readFile ( args . path , 'utf8' )
1717
1818 return {
@@ -39,7 +39,7 @@ function patchJiti() {
3939 name : 'patch-jiti' ,
4040 setup ( build ) {
4141 // TODO: Switch to rolldown and see if we can chunk split this instead?
42- build . onLoad ( { filter : / j i t i \/ l i b \/ j i t i \. m j s $ / } , async ( args ) => {
42+ build . onLoad ( { filter : / j i t i [ \/ \\ ] l i b [ \/ \\ ] j i t i \. m j s $ / } , async ( args ) => {
4343 let original = await fs . promises . readFile ( args . path , 'utf8' )
4444
4545 return {
You can’t perform that action at this time.
0 commit comments