mm
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
"doc/[^.]*"
|
||||
],
|
||||
"module": "index.js",
|
||||
"browser": "index.umd.js",
|
||||
"typings": "index.d.ts",
|
||||
"exports": {
|
||||
"./index.css": "./dist/index.css"
|
||||
|
||||
@@ -18,7 +18,7 @@ export default defineConfig({
|
||||
lib: {
|
||||
entry: resolve(import.meta.dirname, "src/index.ts"),
|
||||
name: "ui-react",
|
||||
formats: ["es"],
|
||||
formats: ["es", "umd"],
|
||||
fileName: (format) => {
|
||||
return `index.${format}.js`;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user