idk
This commit is contained in:
parent
eecaaea9dd
commit
57e97ea947
12
package.json
12
package.json
|
|
@ -2,17 +2,17 @@
|
|||
"name": "react-you-ui",
|
||||
"version": "1.0.0",
|
||||
"description": "Material You components for React, built on top of @material/web",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.mjs",
|
||||
"types": "dist/index.d.ts",
|
||||
"main": "dist/react-you-ui.esm.js",
|
||||
"module": "dist/react-you-ui.umd.js",
|
||||
"types": "dist/react-you-ui.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.js"
|
||||
"types": "./dist/react-you-ui.d.ts",
|
||||
"import": "./dist/react-you-ui.es.js",
|
||||
"require": "./dist/react-you-ui.es.js"
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ export default defineConfig({
|
|||
name: 'react-you-ui',
|
||||
fileName: (format) => `react-you-ui.${format}.js`,
|
||||
formats: ['es', 'umd'],
|
||||
types: 'index.d.ts',
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Reference in New Issue