D
Deno

help

Duplicate tailwind classes in Fresh project

Rrabbit_rabbit10/31/2023
Across the board I'm seeing tailwind classes duplicated in my Fresh project. There doesn't seem to be any harm from the user's perspecitve in terms of things laying out differently, but this does make debugging more annoying and sends needless markup to the client. Has anyone else seen this? Thanks in advance!
deno --version
deno 1.37.1 (release, aarch64-apple-darwin)
v8 11.8.172.3
typescript 5.2.2
deno --version
deno 1.37.1 (release, aarch64-apple-darwin)
v8 11.8.172.3
typescript 5.2.2
import_map.json
{
"imports": {
"$fresh/": "https://deno.land/x/fresh@1.5.2/",
"kysely": "https://cdn.jsdelivr.net/npm/kysely/dist/esm/index.js",
"kysely/": "https://cdn.jsdelivr.net/npm/kysely/dist/esm/",
"kysely-deno-postgres": "https://deno.land/x/kysely_deno_postgres@v0.4.0/mod.ts",
"preact": "https://esm.sh/preact@10.15.1",
"preact/hooks": "https://esm.sh/preact@10.15.1/hooks",
"preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.1.0",
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.3",
"fresh_session": "https://deno.land/x/fresh_session@0.2.2/mod.ts",
"redis": "https://deno.land/x/redis@v0.30.0/mod.ts",
"std/": "https://deno.land/std@0.204.0/",
"dotenv": "https://deno.land/x/dotenv@v3.2.2/load.ts",
"twind": "https://esm.sh/twind@0.16.19",
"twind/": "https://esm.sh/twind@0.16.19/",
"csv": "https://deno.land/x/csv@v0.8.0/mod.ts",
"cheerio": "https://deno.land/x/cheerio@1.0.7/mod.ts"
}
}
{
"imports": {
"$fresh/": "https://deno.land/x/fresh@1.5.2/",
"kysely": "https://cdn.jsdelivr.net/npm/kysely/dist/esm/index.js",
"kysely/": "https://cdn.jsdelivr.net/npm/kysely/dist/esm/",
"kysely-deno-postgres": "https://deno.land/x/kysely_deno_postgres@v0.4.0/mod.ts",
"preact": "https://esm.sh/preact@10.15.1",
"preact/hooks": "https://esm.sh/preact@10.15.1/hooks",
"preact/": "https://esm.sh/preact@10.15.1/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.1.0",
"@preact/signals": "https://esm.sh/*@preact/signals@1.1.3",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.3",
"fresh_session": "https://deno.land/x/fresh_session@0.2.2/mod.ts",
"redis": "https://deno.land/x/redis@v0.30.0/mod.ts",
"std/": "https://deno.land/std@0.204.0/",
"dotenv": "https://deno.land/x/dotenv@v3.2.2/load.ts",
"twind": "https://esm.sh/twind@0.16.19",
"twind/": "https://esm.sh/twind@0.16.19/",
"csv": "https://deno.land/x/csv@v0.8.0/mod.ts",
"cheerio": "https://deno.land/x/cheerio@1.0.7/mod.ts"
}
}
Mmarvinh.10/31/2023
How can we reproduce the issue? Also might be worth filing something on Fresh's issue tracker for this

Looking for more? Join the community!