twind bundles added

This commit is contained in:
Seth Trowbridge 2024-05-15 09:33:06 -04:00
parent 1ecc3fc5bd
commit 21f233e6b3
6 changed files with 23 additions and 12 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,8 @@
"react": "./bundled/preact/compat.js",
"react/jsx-runtime": "./bundled/preact/compat.js",
"@preact/signals": "./bundled/preact/signals.js",
"@twind/core": "https://esm.sh/@twind/core@1.1.3",
"@twind/core": "./bundled/twind/core.js",
"@twind/presets": "./bundled/twind/presets.js",
">able/": "./",
">able/app.tsx": "./app.tsx"

View File

@ -1,13 +1,12 @@
import React from "react";
import * as TW from "@twind/core";
import PreTailwind from "https://esm.sh/v135/@twind/preset-tailwind@1.1.3/es2022/preset-tailwind.mjs";
import PreAutoprefix from "https://esm.sh/v135/@twind/preset-autoprefix@1.0.7/es2022/preset-autoprefix.mjs";
import * as Pre from "@twind/presets";
import * as App from ">able/app.tsx";
const Configure =
{
theme: {},
presets: [PreAutoprefix(), PreTailwind()],
presets: [Pre.presetAutoprefix(), Pre.presetTailwind()],
hash: false
} as TW.TwindUserConfig;