@devup-ui/vite-plugin 1.0.40 → 1.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +157 -0
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +39 -36
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/dev-five-git/devup-ui/main/media/logo.svg" alt="Devup UI logo" width="300" />
|
|
3
|
+
</div>
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
<h3 align="center">
|
|
7
|
+
Zero Config, Zero FOUC, Zero Runtime, CSS in JS Preprocessor
|
|
8
|
+
</h3>
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<div>
|
|
13
|
+
<img src='https://img.shields.io/npm/v/@devup-ui/react'>
|
|
14
|
+
<img src='https://img.shields.io/bundlephobia/minzip/@devup-ui/react'>
|
|
15
|
+
<img alt="Github Checks" src="https://badgen.net/github/checks/dev-five-git/devup-ui"/>
|
|
16
|
+
<img alt="Apache-2.0 License" src="https://img.shields.io/github/license/dev-five-git/devup-ui"/>
|
|
17
|
+
<a href="https://www.npmjs.com/package/@devup-ui/react">
|
|
18
|
+
<img alt="NPM Downloads" src="https://img.shields.io/npm/dm/@devup-ui/react.svg?style=flat"/>
|
|
19
|
+
</a>
|
|
20
|
+
<a href="https://badgen.net/github/stars/dev-five-git/devup-ui">
|
|
21
|
+
<img alt="Github Stars" src="https://badgen.net/github/stars/dev-five-git/devup-ui" />
|
|
22
|
+
</a>
|
|
23
|
+
<a href="https://discord.gg/8zjcGc7cWh">
|
|
24
|
+
<img alt="Discord" src="https://img.shields.io/discord/1321362173619994644.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2" />
|
|
25
|
+
</a>
|
|
26
|
+
<a href="https://codecov.io/gh/dev-five-git/devup-ui" >
|
|
27
|
+
<img src="https://codecov.io/gh/dev-five-git/devup-ui/graph/badge.svg?token=8I5GMB2X5B"/>
|
|
28
|
+
</a>
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
English | [한국어](README_ko.md)
|
|
34
|
+
|
|
35
|
+
## Install
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
npm install @devup-ui/react
|
|
39
|
+
|
|
40
|
+
# on next.js
|
|
41
|
+
npm install @devup-ui/next-plugin
|
|
42
|
+
|
|
43
|
+
# on vite
|
|
44
|
+
npm install @devup-ui/vite-plugin
|
|
45
|
+
|
|
46
|
+
# on rsbuild
|
|
47
|
+
npm install @devup-ui/rsbuild-plugin
|
|
48
|
+
|
|
49
|
+
# on webpack
|
|
50
|
+
npm install @devup-ui/webpack-plugin
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Features
|
|
54
|
+
|
|
55
|
+
- Preprocessor
|
|
56
|
+
- Zero Config
|
|
57
|
+
- Zero FOUC
|
|
58
|
+
- Zero Runtime
|
|
59
|
+
- RSC Support
|
|
60
|
+
- Must not use JavaScript, client-side logic, or hybrid solutions
|
|
61
|
+
- Support Library mode
|
|
62
|
+
- Zero Cost Dynamic Theme Support based on CSS Variables
|
|
63
|
+
- Theme with Typing
|
|
64
|
+
- Smallest size, fastest speed
|
|
65
|
+
|
|
66
|
+
## Inspirations
|
|
67
|
+
|
|
68
|
+
- Styled System
|
|
69
|
+
- Chakra UI
|
|
70
|
+
- Theme UI
|
|
71
|
+
- Vanilla Extract
|
|
72
|
+
- Rainbow Sprinkles
|
|
73
|
+
- Kuma UI
|
|
74
|
+
|
|
75
|
+
## Comparison Benchmarks
|
|
76
|
+
|
|
77
|
+
Next.js Build Time and Build Size (github action - ubuntu-latest)
|
|
78
|
+
|
|
79
|
+
| Library | Version | Build Time | Build Size |
|
|
80
|
+
|--------------------------|----------|------------|-------------------|
|
|
81
|
+
| tailwindcss | 4.1.13 | 20.22s | 57,415,796 bytes |
|
|
82
|
+
| styleX | 0.15.4 | 38.97s | 76,257,820 bytes |
|
|
83
|
+
| vanilla-extract | 1.17.4 | 20.09s | 59,366,237 bytes |
|
|
84
|
+
| kuma-ui | 1.5.9 | 21.61s | 67,422,085 bytes |
|
|
85
|
+
| panda-css | 1.3.1 | 22.01s | 62,431,065 bytes |
|
|
86
|
+
| chakra-ui | 3.27.0 | 29.99s | 210,122,493 bytes |
|
|
87
|
+
| mui | 7.3.2 | 22.21s | 94,231,958 bytes |
|
|
88
|
+
| devup-ui(per-file css) | 1.0.18 | 18.23s | 57,440,953 bytes |
|
|
89
|
+
| devup-ui(single css) | 1.0.18 | 18.35s | 57,409,008 bytes |
|
|
90
|
+
|
|
91
|
+
## How it works
|
|
92
|
+
|
|
93
|
+
Devup UI is a CSS in JS preprocessor that does not require runtime.
|
|
94
|
+
Devup UI eliminates the performance degradation of the browser through the CSS in JS preprocessor.
|
|
95
|
+
We develop a preprocessor that considers all grammatical cases.
|
|
96
|
+
|
|
97
|
+
```typescript
|
|
98
|
+
const before = <Box bg={"red"}/>
|
|
99
|
+
|
|
100
|
+
const after = <div className="d0"/>
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Variables are fully supported.
|
|
104
|
+
|
|
105
|
+
```typescript
|
|
106
|
+
const before = <Box bg={colorVariable}/>
|
|
107
|
+
|
|
108
|
+
const after = <div className="d0" style={{
|
|
109
|
+
"--d0": colorVariable
|
|
110
|
+
}}/>
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Various expressions and responsiveness are also fully supported.
|
|
114
|
+
|
|
115
|
+
```typescript
|
|
116
|
+
const before = <Box bg={["red", "blue", a > b ? "yellow" : variable]}/>
|
|
117
|
+
|
|
118
|
+
const after = <div className={`d0 d1 ${a > b ? "d2" : "d3"}`} style={{
|
|
119
|
+
"--d2": variable
|
|
120
|
+
}}/>
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Support Theme with Typing
|
|
124
|
+
|
|
125
|
+
`devup.json`
|
|
126
|
+
|
|
127
|
+
```json
|
|
128
|
+
{
|
|
129
|
+
"theme": {
|
|
130
|
+
"colors": {
|
|
131
|
+
"default": {
|
|
132
|
+
"text": "#000"
|
|
133
|
+
},
|
|
134
|
+
"dark": {
|
|
135
|
+
"text": "white"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
```typescript
|
|
143
|
+
// Type Safe
|
|
144
|
+
<Text color="$text"/>
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Support Responsive And Pseudo Selector
|
|
148
|
+
|
|
149
|
+
You can use responsive and pseudo selector.
|
|
150
|
+
|
|
151
|
+
```typescript
|
|
152
|
+
// Responsive with Selector
|
|
153
|
+
const box = <Box _hover={{bg: ["red", "blue"]}}/>
|
|
154
|
+
|
|
155
|
+
// Same
|
|
156
|
+
const box = <Box _hover={[{bg: "red"}, {bg: "blue"}]}/>
|
|
157
|
+
```
|
package/dist/plugin.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("node:fs"),l=require("node:fs/promises"),t=require("node:path"),o=require("@devup-ui/wasm");function T(r){return r.endsWith("devup-ui.css")?null:parseInt(r.split("devup-ui-")[1].split(".")[0])}async function F(r){var c;try{const n=p.existsSync(r.devupFile)?await l.readFile(r.devupFile,"utf-8"):void 0;if(n){o.registerTheme(((c=JSON.parse(n))==null?void 0:c.theme)??{});const a=o.getThemeInterface(r.package,"DevupThemeColors","DevupThemeTypography","DevupTheme");a&&await l.writeFile(t.join(r.distDir,"theme.d.ts"),a,"utf-8")}else o.registerTheme({})}catch(n){console.error(n),o.registerTheme({})}await Promise.all([p.existsSync(r.cssDir)?Promise.resolve():l.mkdir(r.cssDir,{recursive:!0}),r.singleCss?Promise.resolve():l.writeFile(t.join(r.cssDir,"devup-ui.css"),o.getCss(null,!1))])}function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("node:fs"),l=require("node:fs/promises"),t=require("node:path"),o=require("@devup-ui/wasm");function T(r){return r.endsWith("devup-ui.css")?null:parseInt(r.split("devup-ui-")[1].split(".")[0])}async function F(r){var c;try{const n=p.existsSync(r.devupFile)?await l.readFile(r.devupFile,"utf-8"):void 0;if(n){o.registerTheme(((c=JSON.parse(n))==null?void 0:c.theme)??{});const a=o.getThemeInterface(r.package,"DevupThemeColors","DevupThemeTypography","DevupTheme");a&&await l.writeFile(t.join(r.distDir,"theme.d.ts"),a,"utf-8")}else o.registerTheme({})}catch(n){console.error(n),o.registerTheme({})}await Promise.all([p.existsSync(r.cssDir)?Promise.resolve():l.mkdir(r.cssDir,{recursive:!0}),r.singleCss?Promise.resolve():l.writeFile(t.join(r.cssDir,"devup-ui.css"),o.getCss(null,!1))])}function E({package:r="@devup-ui/react",devupFile:c="devup.json",distDir:n="df",cssDir:a=t.resolve(n,"devup-ui"),extractCss:m=!0,debug:S=!1,include:v=[],singleCss:d=!1}={}){o.setDebug(S);const f=new Map;return{name:"devup-ui",async configResolved(){p.existsSync(n)||await l.mkdir(n,{recursive:!0}),await l.writeFile(t.join(n,".gitignore"),"*","utf-8"),await F({package:r,cssDir:a,devupFile:c,distDir:n,singleCss:d})},config(){const i=o.getDefaultTheme(),e={};i&&(e["process.env.DEVUP_UI_DEFAULT_THEME"]=JSON.stringify(i));const s={server:{watch:{ignored:[`!${c}`]}},define:e,optimizeDeps:{exclude:v},ssr:{noExternal:[...v,/@devup-ui/]}};return m&&(s.build={rollupOptions:{output:{manualChunks(u){if(u.split("?")[0].endsWith("devup-ui.css"))return"devup-ui.css"}}}}),s},apply(){return!0},async watchChange(i){if(t.resolve(i)===t.resolve(c)&&p.existsSync(c))try{await F({package:r,cssDir:a,devupFile:c,distDir:n,singleCss:d})}catch(e){console.error(e)}},resolveId(i,e){var s;if(i.includes("devup-ui.css")&&t.resolve(e?t.join(t.dirname(e),i):i)===t.resolve(t.join(a,"devup-ui.css")))return t.join(a,`devup-ui.css?t=${Date.now().toString()+(((s=f.get(null))==null?void 0:s.length)??0)}`)},load(i){const e=t.basename(i).split("?")[0];if(e.startsWith("devup-ui")&&e.endsWith(".css")){const s=T(e),u=o.getCss(s,!1);return f.set(s,u),u}},enforce:"pre",async transform(i,e){if(!m)return;const s=e.split("?")[0];if(!/\.(tsx|ts|js|mjs|jsx)$/i.test(s)||new RegExp(`node_modules(?!.*(${["@devup-ui",...v].join("|").replaceAll("/","[\\/\\\\_]")})([\\/\\\\.]|$))`).test(s))return;let u=t.relative(t.dirname(e),a).replaceAll("\\","/");u.startsWith("./")||(u=`./${u}`);const{code:$,css:w="",map:x,cssFile:g,updatedBaseStyle:_}=o.codeExtract(s,i,r,u,d,!0,!1),h=[];if(_&&h.push(l.writeFile(t.join(a,"devup-ui.css"),o.getCss(null,!1),"utf-8")),g){const y=T(g),j=f.get(y);j&&j.length<w.length&&f.set(y,w),h.push(l.writeFile(t.join(a,t.basename(g)),`/* ${e} ${Date.now()} */`,"utf-8"))}return await Promise.all(h),{code:$,map:x}},async generateBundle(i,e){if(!m)return;const s=Object.keys(e).find(u=>e[u].name==="devup-ui.css");s&&"source"in e[s]&&(e[s].source=f.get(null))}}}exports.DevupUI=E;
|
package/dist/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,MAAM,CAAA;AAEzD,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,OAAO,CAAA;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;CACnB;AAgDD,wBAAgB,OAAO,CAAC,EACtB,OAAO,EAAE,UAA8B,EACvC,SAAwB,EACxB,OAAc,EACd,MAAqC,EACrC,UAAiB,EACjB,KAAa,EACb,OAAY,EACZ,SAAiB,GAClB,GAAE,OAAO,CAAC,oBAAoB,CAAM,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,YAAY,EAAmB,MAAM,MAAM,CAAA;AAEzD,MAAM,WAAW,oBAAoB;IACnC,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,OAAO,CAAA;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,SAAS,EAAE,OAAO,CAAA;CACnB;AAgDD,wBAAgB,OAAO,CAAC,EACtB,OAAO,EAAE,UAA8B,EACvC,SAAwB,EACxB,OAAc,EACd,MAAqC,EACrC,UAAiB,EACjB,KAAa,EACb,OAAY,EACZ,SAAiB,GAClB,GAAE,OAAO,CAAC,oBAAoB,CAAM,GAAG,YAAY,CA6JnD"}
|
package/dist/plugin.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { existsSync as p } from "node:fs";
|
|
2
|
-
import { writeFile as f, mkdir as
|
|
3
|
-
import { relative as C, dirname as
|
|
4
|
-
import { setDebug as O, codeExtract as U, getCss as
|
|
5
|
-
function
|
|
2
|
+
import { writeFile as f, mkdir as _, readFile as W } from "node:fs/promises";
|
|
3
|
+
import { relative as C, dirname as E, resolve as l, join as o, basename as N } from "node:path";
|
|
4
|
+
import { setDebug as O, codeExtract as U, getCss as y, getDefaultTheme as A, registerTheme as w, getThemeInterface as B } from "@devup-ui/wasm";
|
|
5
|
+
function x(s) {
|
|
6
6
|
return s.endsWith("devup-ui.css") ? null : parseInt(s.split("devup-ui-")[1].split(".")[0]);
|
|
7
7
|
}
|
|
8
|
-
async function
|
|
8
|
+
async function F(s) {
|
|
9
9
|
var a;
|
|
10
10
|
try {
|
|
11
11
|
const u = p(s.devupFile) ? await W(s.devupFile, "utf-8") : void 0;
|
|
12
12
|
if (u) {
|
|
13
|
-
|
|
13
|
+
w(((a = JSON.parse(u)) == null ? void 0 : a.theme) ?? {});
|
|
14
14
|
const i = B(
|
|
15
15
|
s.package,
|
|
16
16
|
"DevupThemeColors",
|
|
@@ -18,18 +18,18 @@ async function _(s) {
|
|
|
18
18
|
"DevupTheme"
|
|
19
19
|
);
|
|
20
20
|
i && await f(
|
|
21
|
-
|
|
21
|
+
o(s.distDir, "theme.d.ts"),
|
|
22
22
|
i,
|
|
23
23
|
"utf-8"
|
|
24
24
|
);
|
|
25
25
|
} else
|
|
26
|
-
|
|
26
|
+
w({});
|
|
27
27
|
} catch (u) {
|
|
28
|
-
console.error(u),
|
|
28
|
+
console.error(u), w({});
|
|
29
29
|
}
|
|
30
30
|
await Promise.all([
|
|
31
|
-
p(s.cssDir) ? Promise.resolve() :
|
|
32
|
-
s.singleCss ? Promise.resolve() : f(
|
|
31
|
+
p(s.cssDir) ? Promise.resolve() : _(s.cssDir, { recursive: !0 }),
|
|
32
|
+
s.singleCss ? Promise.resolve() : f(o(s.cssDir, "devup-ui.css"), y(null, !1))
|
|
33
33
|
]);
|
|
34
34
|
}
|
|
35
35
|
function z({
|
|
@@ -38,16 +38,16 @@ function z({
|
|
|
38
38
|
distDir: u = "df",
|
|
39
39
|
cssDir: i = l(u, "devup-ui"),
|
|
40
40
|
extractCss: m = !0,
|
|
41
|
-
debug:
|
|
42
|
-
include:
|
|
41
|
+
debug: k = !1,
|
|
42
|
+
include: v = [],
|
|
43
43
|
singleCss: d = !1
|
|
44
44
|
} = {}) {
|
|
45
|
-
O(
|
|
46
|
-
const
|
|
45
|
+
O(k);
|
|
46
|
+
const c = /* @__PURE__ */ new Map();
|
|
47
47
|
return {
|
|
48
48
|
name: "devup-ui",
|
|
49
49
|
async configResolved() {
|
|
50
|
-
p(u) || await
|
|
50
|
+
p(u) || await _(u, { recursive: !0 }), await f(o(u, ".gitignore"), "*", "utf-8"), await F({
|
|
51
51
|
package: s,
|
|
52
52
|
cssDir: i,
|
|
53
53
|
devupFile: a,
|
|
@@ -66,7 +66,10 @@ function z({
|
|
|
66
66
|
},
|
|
67
67
|
define: e,
|
|
68
68
|
optimizeDeps: {
|
|
69
|
-
exclude:
|
|
69
|
+
exclude: v
|
|
70
|
+
},
|
|
71
|
+
ssr: {
|
|
72
|
+
noExternal: [...v, /@devup-ui/]
|
|
70
73
|
}
|
|
71
74
|
};
|
|
72
75
|
return m && (t.build = {
|
|
@@ -86,7 +89,7 @@ function z({
|
|
|
86
89
|
async watchChange(r) {
|
|
87
90
|
if (l(r) === l(a) && p(a))
|
|
88
91
|
try {
|
|
89
|
-
await
|
|
92
|
+
await F({
|
|
90
93
|
package: s,
|
|
91
94
|
cssDir: i,
|
|
92
95
|
devupFile: a,
|
|
@@ -99,17 +102,17 @@ function z({
|
|
|
99
102
|
},
|
|
100
103
|
resolveId(r, e) {
|
|
101
104
|
var t;
|
|
102
|
-
if (r.includes("devup-ui.css") && l(e ?
|
|
103
|
-
return
|
|
105
|
+
if (r.includes("devup-ui.css") && l(e ? o(E(e), r) : r) === l(o(i, "devup-ui.css")))
|
|
106
|
+
return o(
|
|
104
107
|
i,
|
|
105
|
-
`devup-ui.css?t=${Date.now().toString() + (((t =
|
|
108
|
+
`devup-ui.css?t=${Date.now().toString() + (((t = c.get(null)) == null ? void 0 : t.length) ?? 0)}`
|
|
106
109
|
);
|
|
107
110
|
},
|
|
108
111
|
load(r) {
|
|
109
|
-
const e =
|
|
112
|
+
const e = N(r).split("?")[0];
|
|
110
113
|
if (e.startsWith("devup-ui") && e.endsWith(".css")) {
|
|
111
|
-
const t =
|
|
112
|
-
return
|
|
114
|
+
const t = x(e), n = y(t, !1);
|
|
115
|
+
return c.set(t, n), n;
|
|
113
116
|
}
|
|
114
117
|
},
|
|
115
118
|
enforce: "pre",
|
|
@@ -117,32 +120,32 @@ function z({
|
|
|
117
120
|
if (!m) return;
|
|
118
121
|
const t = e.split("?")[0];
|
|
119
122
|
if (!/\.(tsx|ts|js|mjs|jsx)$/i.test(t) || new RegExp(
|
|
120
|
-
`node_modules(?!.*(${["@devup-ui", ...
|
|
123
|
+
`node_modules(?!.*(${["@devup-ui", ...v].join("|").replaceAll("/", "[\\/\\\\_]")})([\\/\\\\.]|$))`
|
|
121
124
|
).test(t))
|
|
122
125
|
return;
|
|
123
|
-
let n = C(
|
|
126
|
+
let n = C(E(e), i).replaceAll("\\", "/");
|
|
124
127
|
n.startsWith("./") || (n = `./${n}`);
|
|
125
128
|
const {
|
|
126
129
|
code: D,
|
|
127
130
|
css: T = "",
|
|
128
131
|
map: I,
|
|
129
|
-
cssFile:
|
|
132
|
+
cssFile: h,
|
|
130
133
|
updatedBaseStyle: S
|
|
131
134
|
// import main css in code
|
|
132
|
-
} = U(t, r, s, n, d, !0, !1),
|
|
133
|
-
if (S &&
|
|
134
|
-
f(
|
|
135
|
-
),
|
|
136
|
-
const $ =
|
|
137
|
-
j && j.length < T.length &&
|
|
135
|
+
} = U(t, r, s, n, d, !0, !1), g = [];
|
|
136
|
+
if (S && g.push(
|
|
137
|
+
f(o(i, "devup-ui.css"), y(null, !1), "utf-8")
|
|
138
|
+
), h) {
|
|
139
|
+
const $ = x(h), j = c.get($);
|
|
140
|
+
j && j.length < T.length && c.set($, T), g.push(
|
|
138
141
|
f(
|
|
139
|
-
|
|
142
|
+
o(i, N(h)),
|
|
140
143
|
`/* ${e} ${Date.now()} */`,
|
|
141
144
|
"utf-8"
|
|
142
145
|
)
|
|
143
146
|
);
|
|
144
147
|
}
|
|
145
|
-
return await Promise.all(
|
|
148
|
+
return await Promise.all(g), {
|
|
146
149
|
code: D,
|
|
147
150
|
map: I
|
|
148
151
|
};
|
|
@@ -152,7 +155,7 @@ function z({
|
|
|
152
155
|
const t = Object.keys(e).find(
|
|
153
156
|
(n) => e[n].name === "devup-ui.css"
|
|
154
157
|
);
|
|
155
|
-
t && "source" in e[t] && (e[t].source =
|
|
158
|
+
t && "source" in e[t] && (e[t].source = c.get(null));
|
|
156
159
|
}
|
|
157
160
|
};
|
|
158
161
|
}
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"vite"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "1.0.
|
|
21
|
+
"version": "1.0.42",
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@devup-ui/wasm": "1.0.
|
|
39
|
+
"@devup-ui/wasm": "1.0.40"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"vite-plugin-dts": "^4.5.4",
|