uddated package.json

This commit is contained in:
Anton Tranelis 2025-02-09 19:02:35 +00:00
parent 2af771a79b
commit c6484027c4
2 changed files with 10 additions and 4 deletions

View File

@ -3,12 +3,14 @@
"version": "3.0.55",
"description": "Reuseable React Components to build mapping apps for real life communities and networks",
"repository": "https://github.com/utopia-os/utopia-ui",
"homepage:": "https://utopia-os.org/",
"module": "dist/index.js",
"homepage": "https://utopia-os.org/",
"module": "dist/index.esm.js",
"main": "dist/index.cjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},

View File

@ -7,9 +7,13 @@ export default [
input: 'src/index.tsx',
output: [
{
file: 'dist/index.js',
file: 'dist/index.esm.js',
format: 'esm',
},
{
file: 'dist/index.cjs',
format: 'cjs',
},
],
plugins: [
postcss({