Browse Source

feat: add CSS export for library styles

dev
hechang27-sprt 6 months ago
parent
commit
15cd04b955
  1. 4
      package.json

4
package.json

@ -4,6 +4,7 @@
"main": "./dist/index.js", "main": "./dist/index.js",
"module": "./dist/index.js", "module": "./dist/index.js",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"style": "./dist/assets/noob-mengyxu.css",
"keywords": [ "keywords": [
"noob-mengyxu", "noob-mengyxu",
"noob", "noob",
@ -72,7 +73,8 @@
"./packages": { "./packages": {
"types": "./dist/packages/index.d.ts", "types": "./dist/packages/index.d.ts",
"default": "./dist/packages/index.js" "default": "./dist/packages/index.js"
} },
"./style.css": "./dist/assets/noob-mengyxu.css"
}, },
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

Loading…
Cancel
Save