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

tailwindcss.test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { assertSiteSnapshot, build, getSite } from "./utils.ts";import postcss from "../plugins/postcss.ts";import tailwindcss from "../plugins/tailwindcss.ts";
Deno.test("postcss plugin", async (t) => { const site = getSite({ src: "tailwindcss", });
site.use(tailwindcss({ extensions: [".html", ".js"], })); site.use(postcss()); site.loadAssets([".js"]);
await build(site); await assertSiteSnapshot(t, site);});
lume

Version Info

Tagged at
a month ago