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