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

View File

@ -13,4 +13,3 @@ var M=Symbol.for("preact-signals");function b(){if(v>1)v--;else{for(var t,i=!1;p
export export
{u as Signal,R as batch,w as computed,c as effect,g as signal,T as untracked,W as useComputed,H as useSignal,X as useSignalEffect}; {u as Signal,R as batch,w as computed,c as effect,g as signal,T as untracked,W as useComputed,H as useSignal,X as useSignalEffect};
//# sourceMappingURL=signals.bundle.mjs.map

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": "./bundled/preact/compat.js",
"react/jsx-runtime": "./bundled/preact/compat.js", "react/jsx-runtime": "./bundled/preact/compat.js",
"@preact/signals": "./bundled/preact/signals.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/": "./",
">able/app.tsx": "./app.tsx" ">able/app.tsx": "./app.tsx"

View File

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