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 @@ -55,7 +55,7 @@ await esbuild.build({
55
55
setup ( build ) {
56
56
// Update esbuild to support the import attributes syntax in this PR is too risky.
57
57
// TODO: update esbuild and remove the hack.
58
- build . onLoad ( { filter : / @ v u e \/ c r e a t e - e s l i n t - c o n f i g \/ i n d e x .j s $ / } , ( args ) => {
58
+ build . onLoad ( { filter : / @ v u e . c r e a t e - e s l i n t - c o n f i g . i n d e x .j s $ / } , ( args ) => {
59
59
const text = fs . readFileSync ( args . path , 'utf8' )
60
60
return {
61
61
contents : text . replace ( `with { type: 'json' }` , '' ) ,
@@ -65,7 +65,7 @@ await esbuild.build({
65
65
66
66
// The renderEjsFile.js module uses file system APIs therefore after bundling it will not work.
67
67
// So we need to preprocess it to remove the file system APIs.
68
- build . onLoad ( { filter : / @ v u e \/ c r e a t e - e s l i n t - c o n f i g \/ r e n d e r E j s F i l e .j s $ / } , ( args ) => {
68
+ build . onLoad ( { filter : / @ v u e . c r e a t e - e s l i n t - c o n f i g . r e n d e r E j s F i l e \ .j s $ / } , ( args ) => {
69
69
const pkgDir = path . dirname ( args . path )
70
70
const templatesDir = path . resolve ( pkgDir , './templates' )
71
71
You can’t perform that action at this time.
0 commit comments