twind bundles added
This commit is contained in:
parent
1ecc3fc5bd
commit
21f233e6b3
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
@ -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"
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user