[ci] format
This commit is contained in:
parent
9014f0f8cb
commit
29da99c4b3
1 changed files with 3 additions and 3 deletions
|
@ -411,8 +411,8 @@ export default function createPlugin({ config, logging }: AstroPluginOptions): v
|
|||
if (opts.ssr) return;
|
||||
if (!id.includes('vite/dist/client/client.mjs')) return;
|
||||
return code
|
||||
.replace(/\.tip \{[^}]*\}/gm, '.tip {\n display: none;\n}')
|
||||
.replace(/\[vite\]/g, '[astro]')
|
||||
}
|
||||
.replace(/\.tip \{[^}]*\}/gm, '.tip {\n display: none;\n}')
|
||||
.replace(/\[vite\]/g, '[astro]');
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue