[ci] format
This commit is contained in:
parent
77354c89bd
commit
5c9312620d
4 changed files with 16 additions and 16 deletions
|
@ -76,7 +76,7 @@ export async function build(opts: ScanBasedBuildOptions): Promise<RollupOutput |
|
|||
}),
|
||||
rollupPluginAstroBuildCSS({
|
||||
internals,
|
||||
legacy: true
|
||||
legacy: true,
|
||||
}),
|
||||
...(viteConfig.plugins || []),
|
||||
],
|
||||
|
|
|
@ -146,7 +146,7 @@ async function ssrBuild(opts: StaticBuildOptions, internals: BuildInternals, inp
|
|||
vitePluginPages(opts, internals),
|
||||
rollupPluginAstroBuildCSS({
|
||||
internals,
|
||||
legacy: false
|
||||
legacy: false,
|
||||
}),
|
||||
...(viteConfig.plugins || []),
|
||||
// SSR needs to be last
|
||||
|
@ -200,7 +200,7 @@ async function clientBuild(opts: StaticBuildOptions, internals: BuildInternals,
|
|||
vitePluginHoistedScripts(astroConfig, internals),
|
||||
rollupPluginAstroBuildCSS({
|
||||
internals,
|
||||
legacy: false
|
||||
legacy: false,
|
||||
}),
|
||||
...(viteConfig.plugins || []),
|
||||
],
|
||||
|
|
|
@ -13,7 +13,7 @@ describe('Page-level styles', () => {
|
|||
await fixture.build();
|
||||
});
|
||||
|
||||
it('Doesn\'t add page styles for a page without style imports', async () => {
|
||||
it("Doesn't add page styles for a page without style imports", async () => {
|
||||
let html = await fixture.readFile('/index.html');
|
||||
let $ = await cheerioLoad(html);
|
||||
expect($('link').length).to.equal(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue