Skip to content

Commit d381da5

Browse files
committed
css inject
1 parent d202cd4 commit d381da5

File tree

3 files changed

+77
-7
lines changed

3 files changed

+77
-7
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-vue-wrapper",
3-
"version": "3.0.11",
3+
"version": "3.1.0",
44
"description": "Bootstrap 5 components in Vue3 wrapper.",
55
"module": "./dist/index.js",
66
"types": "./dist/index.d.ts",
@@ -70,6 +70,7 @@
7070
"typescript-eslint": "^8.52.0",
7171
"vite": "^7.3.1",
7272
"vite-plugin-dts": "^4.5.4",
73+
"vite-plugin-lib-inject-css": "^2.2.2",
7374
"vue": "^3.5.27",
7475
"vue-router": "^4.3.0",
7576
"vue-tsc": "^3.2.2"

vite.config.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,15 @@ import vue from '@vitejs/plugin-vue'
33
import { resolve } from 'node:path'
44
import dts from 'vite-plugin-dts'
55
import * as path from 'path'
6+
import { libInjectCss } from 'vite-plugin-lib-inject-css'
67

78
// https://vitejs.dev/config/
89
export default defineConfig({
9-
plugins: [vue(), dts()],
10+
plugins: [
11+
vue(),
12+
dts(),
13+
libInjectCss(),
14+
],
1015
server: {
1116
port: 5199,
1217
},

yarn.lock

Lines changed: 69 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,66 @@
22
# yarn lockfile v1
33

44

5+
"@ast-grep/napi-darwin-arm64@0.36.3":
6+
version "0.36.3"
7+
resolved "https://registry.yarnpkg.com/@ast-grep/napi-darwin-arm64/-/napi-darwin-arm64-0.36.3.tgz#21300034de594055beb56d5e5e26589380934918"
8+
integrity sha512-uM0Hrm5gcHqaBL64ktmPBFMTorTlPKWsUfi0E2Cg09GJfeYWvZmicCqgd7qVtjURmQvFQdb4JSqHIkJvws6Uqw==
9+
10+
"@ast-grep/napi-darwin-x64@0.36.3":
11+
version "0.36.3"
12+
resolved "https://registry.yarnpkg.com/@ast-grep/napi-darwin-x64/-/napi-darwin-x64-0.36.3.tgz#fed71faf76258349e02659a3e51ded785724a914"
13+
integrity sha512-wEMeQw8lRL66puG2m8m0kDRQDtubygj59HA/cmut2V5SPx/13BN3wuEk6JPv97gqGUCUGhG2+5Z6UZ/Ll2q01Q==
14+
15+
"@ast-grep/napi-linux-arm64-gnu@0.36.3":
16+
version "0.36.3"
17+
resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-arm64-gnu/-/napi-linux-arm64-gnu-0.36.3.tgz#fe01aa917e0574dc165ff38bf68cfe5fdf62c9a7"
18+
integrity sha512-sMsTMaUjW7SM8KPbLviCSBuM4zgJcwvie1yZI92HKSlFzC7ABe7X7UvyUREB+JwqccDVEL5yOJAjqB8eFSCizw==
19+
20+
"@ast-grep/napi-linux-arm64-musl@0.36.3":
21+
version "0.36.3"
22+
resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-arm64-musl/-/napi-linux-arm64-musl-0.36.3.tgz#7c98cc4d49ec8692d4c601561b1327a5cd8814a2"
23+
integrity sha512-2XRmNYuovZu0Pa4J3or4PKMkQZnXXfpVcCrPwWB/2ytX7XUo+TWLgYE8rPVnJOyw5zujkveFb0XUrro9mQgLzw==
24+
25+
"@ast-grep/napi-linux-x64-gnu@0.36.3":
26+
version "0.36.3"
27+
resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-x64-gnu/-/napi-linux-x64-gnu-0.36.3.tgz#4a949cd56208c5674621cec45517a0477b864f2c"
28+
integrity sha512-mTwPRbBi1feGqR2b5TWC5gkEDeRi8wfk4euF5sKNihfMGHj6pdfINHQ3QvLVO4C7z0r/wgWLAvditFA0b997dg==
29+
30+
"@ast-grep/napi-linux-x64-musl@0.36.3":
31+
version "0.36.3"
32+
resolved "https://registry.yarnpkg.com/@ast-grep/napi-linux-x64-musl/-/napi-linux-x64-musl-0.36.3.tgz#8c1d2094fb3b002dbdebd140f7e7e57731f1c33f"
33+
integrity sha512-tMGPrT+zuZzJK6n1cD1kOii7HYZE9gUXjwtVNE/uZqXEaWP6lmkfoTMbLjnxEe74VQbmaoDGh1/cjrDBnqC6Uw==
34+
35+
"@ast-grep/napi-win32-arm64-msvc@0.36.3":
36+
version "0.36.3"
37+
resolved "https://registry.yarnpkg.com/@ast-grep/napi-win32-arm64-msvc/-/napi-win32-arm64-msvc-0.36.3.tgz#e1ccf039ddb37ffb26d6da516b9e6c8dcf5c7b87"
38+
integrity sha512-7pFyr9+dyV+4cBJJ1I57gg6PDXP3GBQeVAsEEitzEruxx4Hb4cyNro54gGtlsS+6ty+N0t004tPQxYO2VrsPIg==
39+
40+
"@ast-grep/napi-win32-ia32-msvc@0.36.3":
41+
version "0.36.3"
42+
resolved "https://registry.yarnpkg.com/@ast-grep/napi-win32-ia32-msvc/-/napi-win32-ia32-msvc-0.36.3.tgz#4917947a8ae07c236854aa6cd42d6bfd1325679d"
43+
integrity sha512-MPAgccH9VscRaFuEBMzDGPS+3c4cKNVGIVJ7WSNa1nZtLQ0eFEaPJ7pyDnCezgVSxfNFVYBvKyyF/vcm7Qc9+A==
44+
45+
"@ast-grep/napi-win32-x64-msvc@0.36.3":
46+
version "0.36.3"
47+
resolved "https://registry.yarnpkg.com/@ast-grep/napi-win32-x64-msvc/-/napi-win32-x64-msvc-0.36.3.tgz#1ee5792353f2389b4040cdca87b00fa535644560"
48+
integrity sha512-TIVtuSbXhty9kaSEfr4ULWx5PAuUeGgUkFaR60lmOs7sGTWgpig+suwKfTmevoAblFknCW/aMHOwziwJoUZA6A==
49+
50+
"@ast-grep/napi@^0.36.2":
51+
version "0.36.3"
52+
resolved "https://registry.yarnpkg.com/@ast-grep/napi/-/napi-0.36.3.tgz#677ee5061de98989915c5987672443bbe7ffc003"
53+
integrity sha512-ExypohE8L7FvKBHxu7UpwcV9XVfyS+AqNZKyKIfxYwJyD9l7Gw6pmMYd7J2uopJsPEIUf44/emEFds6nFUx/dw==
54+
optionalDependencies:
55+
"@ast-grep/napi-darwin-arm64" "0.36.3"
56+
"@ast-grep/napi-darwin-x64" "0.36.3"
57+
"@ast-grep/napi-linux-arm64-gnu" "0.36.3"
58+
"@ast-grep/napi-linux-arm64-musl" "0.36.3"
59+
"@ast-grep/napi-linux-x64-gnu" "0.36.3"
60+
"@ast-grep/napi-linux-x64-musl" "0.36.3"
61+
"@ast-grep/napi-win32-arm64-msvc" "0.36.3"
62+
"@ast-grep/napi-win32-ia32-msvc" "0.36.3"
63+
"@ast-grep/napi-win32-x64-msvc" "0.36.3"
64+
565
"@babel/helper-string-parser@^7.27.1":
666
version "7.27.1"
767
resolved "https://registry.yarnpkg.com/@babel/helper-string-parser/-/helper-string-parser-7.27.1.tgz#54da796097ab19ce67ed9f88b47bb2ec49367687"
@@ -953,11 +1013,6 @@ ajv@^8.0.0:
9531013
version "8.17.1"
9541014
resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.17.1.tgz#37d9a5c776af6bc92d7f4f9510eba4c0a60d11a6"
9551015
integrity sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==
956-
dependencies:
957-
fast-deep-equal "^3.1.3"
958-
fast-uri "^3.0.1"
959-
json-schema-traverse "^1.0.0"
960-
require-from-string "^2.0.2"
9611016

9621017
ajv@~8.12.0:
9631018
version "8.12.0"
@@ -3259,6 +3314,15 @@ vite-plugin-dts@^4.5.4:
32593314
local-pkg "^1.0.0"
32603315
magic-string "^0.30.17"
32613316

3317+
vite-plugin-lib-inject-css@^2.2.2:
3318+
version "2.2.2"
3319+
resolved "https://registry.yarnpkg.com/vite-plugin-lib-inject-css/-/vite-plugin-lib-inject-css-2.2.2.tgz#1a08274b2a79c8cc60168a125ab3b417d8c066a4"
3320+
integrity sha512-NF30p0GwtfSAmVlxo2NgPXM2rEdtgV7LFi4lkzajKD7P3Ru/ZAFmI533M0Z5qyMZpvNMxVGkewzpjD0HOWtbDQ==
3321+
dependencies:
3322+
"@ast-grep/napi" "^0.36.2"
3323+
magic-string "^0.30.17"
3324+
picocolors "^1.1.1"
3325+
32623326
vite@^7.3.1:
32633327
version "7.3.1"
32643328
resolved "https://registry.yarnpkg.com/vite/-/vite-7.3.1.tgz#7f6cfe8fb9074138605e822a75d9d30b814d6507"

0 commit comments

Comments
 (0)