start pre-compiled twind
merge files for less browser requests
This commit is contained in:
parent
326a78acfe
commit
c8cb92e2d8
9
bundled/test.tsx
Normal file
9
bundled/test.tsx
Normal file
@ -0,0 +1,9 @@
|
||||
import * as Core from "./twind-core.mjs";
|
||||
import * as PreTailwind from "./twind-preset-tailwind.mjs";
|
||||
import * as PreAutoprefix from "./twind-preset-autoprefix.mjs";
|
||||
|
||||
|
||||
const app = Core.install({
|
||||
presets:[PreTailwind.default(), PreAutoprefix.default()]
|
||||
})
|
||||
console.log(app);
|
3
bundled/twind-core.mjs
Normal file
3
bundled/twind-core.mjs
Normal file
File diff suppressed because one or more lines are too long
6
bundled/twind-preset-autoprefix.mjs
Normal file
6
bundled/twind-preset-autoprefix.mjs
Normal file
@ -0,0 +1,6 @@
|
||||
/* esm.sh - esbuild bundle(@twind/preset-autoprefix@1.0.7) denonext production */
|
||||
import{cssPropertyAlias as m,cssPropertyPrefixFlags as x,cssValuePrefixFlags as F}from"./twind-preset-autoprefix.mjs";var P=[["-webkit-",1],["-moz-",2],["-ms-",4]];function u(){return({stringify:r})=>({stringify(s,e,l){let f="",t=m(s);t&&(f+=r(t,e,l)+";");let i=x(s),o=F(s,e);for(let a of P)i&a[1]&&(f+=r(a[0]+s,e,l)+";"),o&a[1]&&(f+=r(s,a[0]+e,l)+";");return f+r(s,e,l)}})}export{u as default};
|
||||
|
||||
|
||||
/* esm.sh - esbuild bundle(style-vendorizer@2.2.3) denonext production */
|
||||
var t=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["forced-color-adjust","-ms-high-contrast-adjust"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["mask-border","-webkit-mask-box-image"],["mask-border-outset","-webkit-mask-box-image-outset"],["mask-border-slice","-webkit-mask-box-image-slice"],["mask-border-source","-webkit-mask-box-image-source"],["mask-border-repeat","-webkit-mask-box-image-repeat"],["mask-border-width","-webkit-mask-box-image-width"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["print-color-adjust","color-adjust"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);function e(r){return t.get(r)}function s(r){var i=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|mask(?:$|-[ispro]|-cl)|pr|hyphena|flex-d)|(tab-|column(?!-s)|text-align-l)|(ap)|u|hy)/i.exec(r);return i?i[1]?1:i[2]?2:i[3]?3:5:0}function o(r,i){var a=/^(?:(pos)|(cli)|(background-i)|(flex(?:$|-b)|(?:max-|min-)?(?:block-s|inl|he|widt))|dis)/i.exec(r);return a?a[1]?/^sti/i.test(i)?1:0:a[2]?/^pat/i.test(i)?1:0:a[3]?/^image-/i.test(i)?1:0:a[4]?i[3]==="-"?2:0:/^(?:inline-)?grid$/i.test(i)?4:0:0}export{e as cssPropertyAlias,s as cssPropertyPrefixFlags,o as cssValuePrefixFlags};
|
2
bundled/twind-preset-tailwind.mjs
Normal file
2
bundled/twind-preset-tailwind.mjs
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user