diff --git a/packages/uikit/config/rollup.config.mjs b/packages/uikit/config/rollup.config.mjs index e8a86993..c5fe4502 100644 --- a/packages/uikit/config/rollup.config.mjs +++ b/packages/uikit/config/rollup.config.mjs @@ -22,7 +22,15 @@ export default { sourcemap: true, }, ], - external: ["vue", /^vuetify/, "@foxone/icons"], + external: [ + "vue", + /^vuetify/, + /^@foxone\/util/, + "@foxone/icons", + "axios", + "qrcode", + "bignumber.js", + ], plugins: [ nodeResolve({ extensions }), babel({ diff --git a/packages/uikit/package.json b/packages/uikit/package.json index a884f118..3d7f135b 100644 --- a/packages/uikit/package.json +++ b/packages/uikit/package.json @@ -8,20 +8,19 @@ "scripts": { "dev": "start-storybook -p 6006", "doc": "build-storybook", - "build": "yarn build:dist && yarn build:lib && yarn build:types", + "build": "yarn build:lib && yarn build:types", "build:dist": "rm -rf dist && rollup --config config/rollup.config.mjs", - "build:lib-2": "babel src --out-dir lib --extensions \".ts\",\".tsx\"", "build:lib": "rm -rf lib && gulp --gulpfile config/gulp.config.js", "build:types": "tsc --pretty --emitDeclarationOnly -p tsconfig.lib.json" }, "dependencies": { + "@foxone/utils": "^0.2.26", "qrcode": "^1.5.1", "tsconfig": "^7.0.0" }, "exports": { ".": { - "import": "./lib/index.js", - "require": "./dist/index.js" + "import": "./lib/index.js" }, "./sass/main": "./src/styles/_main.scss", "./sass/setting": "./src/styles/_settings.scss", diff --git a/packages/uikit/src/components/FInput/FInput.tsx b/packages/uikit/src/components/FInput/FInput.tsx index 7d31787e..f5799efc 100644 --- a/packages/uikit/src/components/FInput/FInput.tsx +++ b/packages/uikit/src/components/FInput/FInput.tsx @@ -1,5 +1,5 @@ import { defineComponent, ref } from "vue"; -import { VTextField } from "vuetify/components/VTextField"; +import { VTextField } from "vuetify/components"; import { numberInput } from "../../utils"; import "./FInput.scss"; diff --git a/yarn.lock b/yarn.lock index 8f3f2da1..2d4c5449 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16246,6 +16246,11 @@ typescript@^4.2.4, typescript@^4.8.4: resolved "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6" integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ== +typescript@^4.9.3: + version "4.9.3" + resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.3.tgz#3aea307c1746b8c384435d8ac36b8a2e580d85db" + integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA== + uglify-js@^3.1.4: version "3.17.4" resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c"