deno.land / x / lume@v2.1.4 / tests / lightningcss.test.ts

lightningcss.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { assertSiteSnapshot, build, getSite } from "./utils.ts";import lightningcss from "../plugins/lightningcss.ts";
Deno.test("lightningcss plugin (only transform)", async (t) => { const site = getSite({ src: "lightningcss", });
site.use(lightningcss({ includes: false, }));
await build(site); await assertSiteSnapshot(t, site);});
Deno.test("lightningcss plugin (bundle mode)", async (t) => { const site = getSite({ src: "lightningcss", });
site.use(lightningcss());
await build(site); await assertSiteSnapshot(t, site);});
lume

Version Info

Tagged at
7 months ago