[ci] format

This commit is contained in:
natemoo-re 2022-08-05 15:41:32 +00:00 committed by fredkbot
parent 9014f0f8cb
commit 29da99c4b3

View file

@ -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]');
},
};
}