@devup-ui/webpack-plugin 0.1.21 → 0.1.23
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/dist/devup-ui.css +5 -5
- package/dist/plugin.cjs +1 -1
- package/dist/plugin.d.ts.map +1 -1
- package/dist/plugin.js +7 -6
- package/package.json +2 -2
package/dist/devup-ui.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
:root{--
|
|
2
|
-
:root[data-theme=dark]{--
|
|
1
|
+
:root{--buttonBlue:#266CCD;--secondary:#85A5F2;--error:#F44336;--title:#1A1A1A;--footerText:#51575F;--info:#2196F3;--warning:#FF9800;--base:#FFFFFF;--textReverse:#FFFFFF;--footerTitle:#A3A4B4;--border:#E0E0E0;--background:#FFFFFF;--cardBg:#F8F8F8;--caption:#A9A8B4;--buttonBlueHover:#1453AC;--third:#918AE9;--footerBg:#E6E7ED;--search:#9C50FF;--containerBackground:#FFFFFF;--joinBg:#CDE2FA;--captionBold:#878594;--codeBg:#3E3B41;--primary:#6159D4;--text:#2F2F2F;--link:#006BFF;--negativeBase:#000000;--buttonBlueActive:#19498B;--shadow:#87878740;--success:#4CAF50;--menuHover:#F6F4FF;--menuActive:#EAE8FC;}
|
|
2
|
+
:root[data-theme=dark]{--caption:#A9A8B4;--link:#006BFF;--info:#2196F3;--background:#131313;--third:#737FE4;--buttonBlue:#0867AF;--joinBg:#2F363E;--negativeBase:#FFFFFF;--warning:#FF9800;--footerBg:#2E303C;--footerTitle:#A3A4B4;--containerBackground:#1E1E1E;--buttonBlueHover:#1453AC;--secondary:#2A4586;--menuActive:#283259;--shadow:#62626240;--footerText:#FFFFFF;--buttonBlueActive:#19498B;--success:#4CAF50;--codeBg:#2E303C;--title:#FAFAFA;--text:#EDEDED;--error:#F44336;--base:#000000;--border:#333333;--captionBold:#878594;--textReverse:#2F2F2F;--primary:#737FE4;--search:#6FA4FF;--menuHover:#3C404B;--cardBg:#28272B;}
|
|
3
3
|
.typo-body{font-family:Pretendard;font-size:14px;font-weight:500;line-height:130%;letter-spacing:-0.42px}.typo-bodyReg{font-family:Pretendard;font-size:16px;font-weight:400;line-height:150%;letter-spacing:-0.48px}.typo-buttonL{font-family:Pretendard;font-size:17px;font-weight:800;line-height:130%;letter-spacing:-0.51px}.typo-buttonLbold{font-family:Pretendard;font-size:17px;font-weight:700;line-height:130%;letter-spacing:-0.51px}.typo-buttonLsemiB{font-family:Pretendard;font-size:17px;font-weight:600;line-height:130%;letter-spacing:-0.51px}.typo-buttonM{font-family:Pretendard;font-size:15px;font-weight:600;line-height:130%;letter-spacing:-0.45px}.typo-buttonS{font-family:Pretendard;font-size:14px;font-weight:800;line-height:130%;letter-spacing:-0.42px}.typo-buttonSmid{font-family:Pretendard;font-size:14px;font-weight:500;line-height:130%;letter-spacing:-0.42px}.typo-caption{font-family:Pretendard;font-size:14px;font-weight:500;line-height:140%;letter-spacing:-0.42px}.typo-captionBold{font-family:Pretendard;font-size:14px;font-weight:700;line-height:130%;letter-spacing:-0.42px}.typo-code{font-family:D2Coding;font-size:13px;font-weight:700;line-height:150%;letter-spacing:-0.39px}.typo-footerMenu{font-family:Pretendard;font-size:13px;font-weight:500;line-height:140%;letter-spacing:-0.39px}.typo-h1{font-family:Pretendard;font-size:38px;font-weight:800;line-height:130%;letter-spacing:-1.14px}.typo-h2{font-family:Pretendard;font-size:36px;font-weight:800;line-height:130%;letter-spacing:-1.08px}.typo-h3{font-family:Pretendard;font-size:32px;font-weight:700;line-height:130%;letter-spacing:-0.96px}.typo-h4{font-family:Pretendard;font-size:28px;font-weight:700;line-height:130%;letter-spacing:-0.84px}.typo-h5{font-family:Pretendard;font-size:24px;font-weight:600;line-height:130%;letter-spacing:-0.72px}.typo-h6{font-family:Pretendard;font-size:18px;font-weight:600;line-height:130%;letter-spacing:-0.54px}.typo-h6Reg{font-family:Pretendard;font-size:18px;font-weight:400;line-height:130%;letter-spacing:-0.54px}.typo-small{font-family:Pretendard;font-size:11px;font-weight:300;line-height:130%;letter-spacing:-0.33px}.typo-smallBold{font-family:Pretendard;font-size:12px;font-weight:800;line-height:140%;letter-spacing:-0.36px}.typo-textL{font-family:Pretendard;font-size:16px;font-weight:500;line-height:130%;letter-spacing:-0.48px}.typo-textS{font-family:Pretendard;font-size:13px;font-weight:500;line-height:140%;letter-spacing:-0.39px}.typo-textSbold{font-family:Pretendard;font-size:15px;font-weight:700;line-height:140%;letter-spacing:-0.45px}
|
|
4
|
-
@media (min-width:1280px){.typo-body{font-family:Pretendard;font-size:16px;font-weight:500;line-height:150%;letter-spacing:-0.48px}.typo-buttonL{font-family:Pretendard;font-size:20px;font-weight:800;line-height:130%;letter-spacing:-0.6px}.typo-buttonLbold{font-family:Pretendard;font-size:18px;font-weight:700;line-height:130%;letter-spacing:-0.54px}.typo-buttonLsemiB{font-family:Pretendard;font-size:18px;font-weight:600;line-height:130%;letter-spacing:-0.54px}.typo-buttonM{font-family:Pretendard;font-size:17px;font-weight:600;line-height:130%;letter-spacing:-0.51px}.typo-buttonS{font-family:Pretendard;font-size:15px;font-weight:700;line-height:130%;letter-spacing:-0.45px}.typo-buttonSmid{font-family:Pretendard;font-size:15px;font-weight:500;line-height:130%;letter-spacing:-0.45px}.typo-code{font-family:D2Coding;font-size:15px;font-weight:700;line-height:150%;letter-spacing:-0.45px}.typo-footerMenu{font-family:Pretendard;font-size:14px;font-weight:500;line-height:140%;letter-spacing:-0.42px}.typo-h1{font-family:Pretendard;font-size:52px;font-weight:800;line-height:130%;letter-spacing:-1.56px}.typo-h2{font-family:Pretendard;font-size:48px;font-weight:800;line-height:130%;letter-spacing:-1.44px}.typo-h3{font-family:Pretendard;font-size:42px;font-weight:700;line-height:130%;letter-spacing:-1.26px}.typo-h4{font-family:Pretendard;font-size:36px;font-weight:700;line-height:130%;letter-spacing:-1.08px}.typo-h5{font-family:Pretendard;font-size:30px;font-weight:600;line-height:130%;letter-spacing:-0.9px}.typo-h6{font-family:Pretendard;font-size:24px;font-weight:600;line-height:130%;letter-spacing:-0.72px}.typo-h6Reg{font-family:Pretendard;font-size:24px;font-weight:400;line-height:130%;letter-spacing:-0.72px}.typo-small{font-family:Pretendard;font-size:12px;font-weight:400;line-height:140%;letter-spacing:-0.36px}.typo-textL{font-family:Pretendard;font-size:18px;font-weight:500;line-height:150%;letter-spacing:-0.54px}.typo-textS{font-family:Pretendard;font-size:15px;font-weight:500;line-height:140%;letter-spacing:-0.45px}}.d6{align-items:center}.d4{display:flex}.d5{flex-direction:column}.d93{justify-content:center}.d6{align-items:center}.d72{align-items:flex-end}.
|
|
5
|
-
@media (min-width:480px){.
|
|
6
|
-
@media (min-width:768px){.
|
|
4
|
+
@media (min-width:1280px){.typo-body{font-family:Pretendard;font-size:16px;font-weight:500;line-height:150%;letter-spacing:-0.48px}.typo-buttonL{font-family:Pretendard;font-size:20px;font-weight:800;line-height:130%;letter-spacing:-0.6px}.typo-buttonLbold{font-family:Pretendard;font-size:18px;font-weight:700;line-height:130%;letter-spacing:-0.54px}.typo-buttonLsemiB{font-family:Pretendard;font-size:18px;font-weight:600;line-height:130%;letter-spacing:-0.54px}.typo-buttonM{font-family:Pretendard;font-size:17px;font-weight:600;line-height:130%;letter-spacing:-0.51px}.typo-buttonS{font-family:Pretendard;font-size:15px;font-weight:700;line-height:130%;letter-spacing:-0.45px}.typo-buttonSmid{font-family:Pretendard;font-size:15px;font-weight:500;line-height:130%;letter-spacing:-0.45px}.typo-code{font-family:D2Coding;font-size:15px;font-weight:700;line-height:150%;letter-spacing:-0.45px}.typo-footerMenu{font-family:Pretendard;font-size:14px;font-weight:500;line-height:140%;letter-spacing:-0.42px}.typo-h1{font-family:Pretendard;font-size:52px;font-weight:800;line-height:130%;letter-spacing:-1.56px}.typo-h2{font-family:Pretendard;font-size:48px;font-weight:800;line-height:130%;letter-spacing:-1.44px}.typo-h3{font-family:Pretendard;font-size:42px;font-weight:700;line-height:130%;letter-spacing:-1.26px}.typo-h4{font-family:Pretendard;font-size:36px;font-weight:700;line-height:130%;letter-spacing:-1.08px}.typo-h5{font-family:Pretendard;font-size:30px;font-weight:600;line-height:130%;letter-spacing:-0.9px}.typo-h6{font-family:Pretendard;font-size:24px;font-weight:600;line-height:130%;letter-spacing:-0.72px}.typo-h6Reg{font-family:Pretendard;font-size:24px;font-weight:400;line-height:130%;letter-spacing:-0.72px}.typo-small{font-family:Pretendard;font-size:12px;font-weight:400;line-height:140%;letter-spacing:-0.36px}.typo-textL{font-family:Pretendard;font-size:18px;font-weight:500;line-height:150%;letter-spacing:-0.54px}.typo-textS{font-family:Pretendard;font-size:15px;font-weight:500;line-height:140%;letter-spacing:-0.45px}}.d6{align-items:center}.d4{display:flex}.d5{flex-direction:column}.d93{justify-content:center}.d6{align-items:center}.d72{align-items:flex-end}.d89{background:var(--buttonBlue)}.d61{background:var(--caption)}.d31{background:var(--cardBg)}.d87{background:var(--codeBg)}.d79{background:var(--containerBackground)}.d73{background:var(--footerBg)}.d104{background:var(--menuActive)}.d50{background:var(--primary)}.d9{background:var(--secondary)}.d15{background:var(--text)}.d57{background:undefined}.d94{background-color:var(--joinBg)}.d95{background-image:var(--d96)}.d10{border-radius:100%}.d83{border-radius:1000px}.d16{border-radius:100px}.d32{border-radius:20px}.d97{border-radius:40px 40px 0px 40px}.d105{border-radius:6px}.d127{border-right:1px solid var(--border, #E0E0E0)}.d80{box-shadow:0px 0px 8px 0px rgba(0, 0, 0, 0.25)}.d111{box-shadow:0px 2px 8px 0px var(--shadow, rgba(135, 135, 135, 0.25))}.d11{width:10px;height:10px;}.d62{width:16px;height:16px;}.d13{width:24px;height:24px;}.d27{width:32px;height:32px;}.d51{width:6px;height:6px;}.d102{width:8px;height:8px;}.d76{color:#FFF}.d12{color:var(--base)}.d59{color:var(--caption)}.d68{color:var(--footerText)}.d67{color:var(--footerTitle)}.d52{color:var(--primary)}.d48{color:var(--text)}.d2{color:var(--title)}.d109{cursor:pointer}.d29{flex:1}.d14{gap:10px}.d69{gap:14px}.d25{gap:16px}.d17{gap:20px}.d7{gap:24px}.d35{gap:40px}.d65{gap:4px}.d19{gap:50px}.d44{gap:6px}.d74{gap:80px}.d130{gap:8px}.d45{height:1008px}.d58{height:1px}.d98{height:380px}.d99{height:42px}.d81{height:46px}.d0{height:50px}.d71{justify-content:space-between}.d90{margin-left:auto}.d39{margin-top:150px}.d63{mask-image:url(/outlink.svg)}.d64{mask-size:100%}.d113{max-width:100%}.d22{max-width:1200px}.d43{max-width:1440px}.d20{max-width:800px}.d70{min-width:240px}.d21{margin-left:auto;margin-right:auto;}.d55{opacity:0.6}.d53{opacity:0.8}.d103{opacity:1}.d129{padding:10px}.d84{padding:12px 34px}.d18{padding:16px 40px}.d77{padding:20px}.d46{padding:20px 16px}.d88{padding:20px 30px}.d33{padding:24px}.d34{padding:30px 24px}.d40{padding:40px 60px}.d54{padding:4px 10px}.d56{padding:4px 10px 30px}.d75{padding:60px 320px}.d85{padding:6px}.d49{padding:6px 0px}.d106{padding:6px 10px}.d23{padding-bottom:100px}.d36{padding-bottom:120px}.d91{padding-right:100px}.d37{padding-top:40px}.d24{padding-top:80px}.d117{position:fixed}.d118{position:sticky}.d101{padding-left:10px;padding-right:10px;}.d114{padding-left:16px;padding-right:16px;}.d100{padding-left:24px;padding-right:24px;}.d42{padding-left:60px;padding-right:60px;}.d28{padding-left:8px;padding-right:8px;}.d38{padding-top:40px;padding-bottom:40px;}.d3{text-align:center}.d60{text-align:right}.d8{text-decoration:none}.d121{top:0px}.d125{transform:rotate(-90deg)}.d124{transform:rotate(0deg)}.d122{transition:all, 0.2s}.d126{transition:transform 0.2s}.d78{width:100%}.d41{width:1014px}.d128{width:10px}.d82{width:162.67px}.d66{width:200px}.d47{width:220px}.d30{width:484px}.d86{width:520px}.d1{width:52px}.d92{width:548px}.d26{width:805px}.d123{z-index:1}:root[data-theme=dark] .d107{color:white}:root[data-theme=default] .d108{color:black}
|
|
5
|
+
@media (min-width:480px){.d115{padding-left:20px;padding-right:20px;}}
|
|
6
|
+
@media (min-width:768px){.d110{border-radius:16px}.d112{height:70px}.d119{padding-top:20px}.d120{padding-left:16px;padding-right:16px;}.d116{padding-left:40px;padding-right:40px;}}
|
package/dist/plugin.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var m=Object.defineProperty;var g=(o,e,t)=>e in o?m(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var d=(o,e,t)=>g(o,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("node:fs"),l=require("node:module"),u=require("node:path"),v=require("node:url"),a=require("@devup-ui/wasm");var s=typeof document<"u"?document.currentScript:null;const y=v.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:s&&s.tagName.toUpperCase()==="SCRIPT"&&s.src||new URL("plugin.cjs",document.baseURI).href),P=u.dirname(y);class U{constructor({package:e="@devup-ui/react",cssFile:t=u.join(P,"devup-ui.css"),devupPath:r="devup.json",interfacePath:n=".df"}){d(this,"options");this.options={package:e,cssFile:t,devupPath:r,interfacePath:n}}writeDataFiles(){var t;a.registerTheme((t=JSON.parse(i.readFileSync(this.options.devupPath,"utf-8")))==null?void 0:t.theme);const e=a.getThemeInterface(this.options.package,"DevupThemeColors","DevupThemeTypography");e&&(i.existsSync(this.options.interfacePath)||i.mkdirSync(this.options.interfacePath),i.writeFileSync(u.join(this.options.interfacePath,"theme.d.ts"),e,{encoding:"utf-8"})),i.writeFileSync(this.options.cssFile,a.getCss(),{encoding:"utf-8"})}apply(e){const t=i.existsSync(this.options.devupPath);if(t){try{this.writeDataFiles()}catch(n){console.error(n)}e.hooks.afterCompile.tap("DevupUIWebpackPlugin",n=>{n.fileDependencies.add(u.resolve(this.options.devupPath))})}let r=null;e.hooks.watchRun.tapAsync("DevupUIWebpackPlugin",(n,h)=>{t&&i.stat(this.options.devupPath,(p,f)=>{if(p){console.error(`Error checking ${this.options.devupPath}:`,p);return}const c=f.mtimeMs;r&&r!==c&&this.writeDataFiles(),r=c}),h()}),i.existsSync(this.options.cssFile)||i.writeFileSync(this.options.cssFile,"",{encoding:"utf-8"}),e.options.module.rules.push({test:this.options.cssFile,use:[{loader:l.createRequire(typeof document>"u"?require("url").pathToFileURL(__filename).href:s&&s.tagName.toUpperCase()==="SCRIPT"&&s.src||new URL("plugin.cjs",document.baseURI).href).resolve("@devup-ui/webpack-plugin/css-loader")}]}),e.options.module.rules.push({test:/\.(tsx|ts|js|mjs|jsx)$/,exclude:/node_modules/,use:[{loader:l.createRequire(typeof document>"u"?require("url").pathToFileURL(__filename).href:s&&s.tagName.toUpperCase()==="SCRIPT"&&s.src||new URL("plugin.cjs",document.baseURI).href).resolve("@devup-ui/webpack-plugin/loader"),options:{plugin:this}}]})}}exports.DevupUIWebpackPlugin=U;
|
|
1
|
+
"use strict";var m=Object.defineProperty;var g=(o,e,t)=>e in o?m(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var d=(o,e,t)=>g(o,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("node:fs"),l=require("node:module"),u=require("node:path"),v=require("node:url"),a=require("@devup-ui/wasm");var s=typeof document<"u"?document.currentScript:null;const y=v.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:s&&s.tagName.toUpperCase()==="SCRIPT"&&s.src||new URL("plugin.cjs",document.baseURI).href),P=u.dirname(y);class U{constructor({package:e="@devup-ui/react",cssFile:t=u.join(P,"devup-ui.css"),devupPath:r="devup.json",interfacePath:n=".df"}){d(this,"options");this.options={package:e,cssFile:t,devupPath:r,interfacePath:n}}writeDataFiles(){var t;a.registerTheme((t=JSON.parse(i.readFileSync(this.options.devupPath,"utf-8")))==null?void 0:t.theme);const e=a.getThemeInterface(this.options.package,"DevupThemeColors","DevupThemeTypography","DevupTheme");e&&(i.existsSync(this.options.interfacePath)||i.mkdirSync(this.options.interfacePath),i.writeFileSync(u.join(this.options.interfacePath,"theme.d.ts"),e,{encoding:"utf-8"})),i.writeFileSync(this.options.cssFile,a.getCss(),{encoding:"utf-8"})}apply(e){const t=i.existsSync(this.options.devupPath);if(t){try{this.writeDataFiles()}catch(n){console.error(n)}e.hooks.afterCompile.tap("DevupUIWebpackPlugin",n=>{n.fileDependencies.add(u.resolve(this.options.devupPath))})}let r=null;e.hooks.watchRun.tapAsync("DevupUIWebpackPlugin",(n,h)=>{t&&i.stat(this.options.devupPath,(p,f)=>{if(p){console.error(`Error checking ${this.options.devupPath}:`,p);return}const c=f.mtimeMs;r&&r!==c&&this.writeDataFiles(),r=c}),h()}),i.existsSync(this.options.cssFile)||i.writeFileSync(this.options.cssFile,"",{encoding:"utf-8"}),e.options.module.rules.push({test:this.options.cssFile,use:[{loader:l.createRequire(typeof document>"u"?require("url").pathToFileURL(__filename).href:s&&s.tagName.toUpperCase()==="SCRIPT"&&s.src||new URL("plugin.cjs",document.baseURI).href).resolve("@devup-ui/webpack-plugin/css-loader")}]}),e.options.module.rules.push({test:/\.(tsx|ts|js|mjs|jsx)$/,exclude:/node_modules/,use:[{loader:l.createRequire(typeof document>"u"?require("url").pathToFileURL(__filename).href:s&&s.tagName.toUpperCase()==="SCRIPT"&&s.src||new URL("plugin.cjs",document.baseURI).href).resolve("@devup-ui/webpack-plugin/loader"),options:{plugin:this}}]})}}exports.DevupUIWebpackPlugin=U;
|
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,QAAQ,EAAE,MAAM,SAAS,CAAA;AAKvC,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,qBAAa,oBAAoB;IAC/B,OAAO,EAAE,2BAA2B,CAAA;gBAExB,EACV,OAAO,EAAE,UAA8B,EACvC,OAAwC,EACxC,SAAwB,EACxB,aAAqB,GACtB,EAAE,OAAO,CAAC,2BAA2B,CAAC;IASvC,cAAc;
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAA;AAKvC,MAAM,WAAW,2BAA2B;IAC1C,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;CACtB;AAED,qBAAa,oBAAoB;IAC/B,OAAO,EAAE,2BAA2B,CAAA;gBAExB,EACV,OAAO,EAAE,UAA8B,EACvC,OAAwC,EACxC,SAAwB,EACxB,aAAqB,GACtB,EAAE,OAAO,CAAC,2BAA2B,CAAC;IASvC,cAAc;IA0Bd,KAAK,CAAC,QAAQ,EAAE,QAAQ;CAgEzB"}
|
package/dist/plugin.js
CHANGED
|
@@ -3,14 +3,14 @@ var f = (i, e, t) => e in i ? m(i, e, { enumerable: !0, configurable: !0, writab
|
|
|
3
3
|
var u = (i, e, t) => f(i, typeof e != "symbol" ? e + "" : e, t);
|
|
4
4
|
import { readFileSync as v, existsSync as p, mkdirSync as g, writeFileSync as n, stat as k } from "node:fs";
|
|
5
5
|
import { createRequire as c } from "node:module";
|
|
6
|
-
import { dirname as P, join as
|
|
6
|
+
import { dirname as P, join as h, resolve as D } from "node:path";
|
|
7
7
|
import { fileURLToPath as y } from "node:url";
|
|
8
8
|
import { registerTheme as F, getThemeInterface as T, getCss as w } from "@devup-ui/wasm";
|
|
9
9
|
const x = y(import.meta.url), b = P(x);
|
|
10
10
|
class R {
|
|
11
11
|
constructor({
|
|
12
12
|
package: e = "@devup-ui/react",
|
|
13
|
-
cssFile: t =
|
|
13
|
+
cssFile: t = h(b, "devup-ui.css"),
|
|
14
14
|
devupPath: o = "devup.json",
|
|
15
15
|
interfacePath: s = ".df"
|
|
16
16
|
}) {
|
|
@@ -30,10 +30,11 @@ class R {
|
|
|
30
30
|
const e = T(
|
|
31
31
|
this.options.package,
|
|
32
32
|
"DevupThemeColors",
|
|
33
|
-
"DevupThemeTypography"
|
|
33
|
+
"DevupThemeTypography",
|
|
34
|
+
"DevupTheme"
|
|
34
35
|
);
|
|
35
36
|
e && (p(this.options.interfacePath) || g(this.options.interfacePath), n(
|
|
36
|
-
|
|
37
|
+
h(this.options.interfacePath, "theme.d.ts"),
|
|
37
38
|
e,
|
|
38
39
|
{
|
|
39
40
|
encoding: "utf-8"
|
|
@@ -55,7 +56,7 @@ class R {
|
|
|
55
56
|
});
|
|
56
57
|
}
|
|
57
58
|
let o = null;
|
|
58
|
-
e.hooks.watchRun.tapAsync("DevupUIWebpackPlugin", (s,
|
|
59
|
+
e.hooks.watchRun.tapAsync("DevupUIWebpackPlugin", (s, l) => {
|
|
59
60
|
t && k(this.options.devupPath, (r, d) => {
|
|
60
61
|
if (r) {
|
|
61
62
|
console.error(`Error checking ${this.options.devupPath}:`, r);
|
|
@@ -63,7 +64,7 @@ class R {
|
|
|
63
64
|
}
|
|
64
65
|
const a = d.mtimeMs;
|
|
65
66
|
o && o !== a && this.writeDataFiles(), o = a;
|
|
66
|
-
}),
|
|
67
|
+
}), l();
|
|
67
68
|
}), p(this.options.cssFile) || n(this.options.cssFile, "", { encoding: "utf-8" }), e.options.module.rules.push({
|
|
68
69
|
test: this.options.cssFile,
|
|
69
70
|
use: [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devup-ui/webpack-plugin",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.23",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@devup-ui/wasm": "0.1.
|
|
30
|
+
"@devup-ui/wasm": "0.1.20"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"vite": "^6.0.11",
|