deno.land / x / lume@v2.1.4 / tests / lightningcss.test.ts
123456789101112131415161718192021222324252627import { 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);});
Version Info