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", "version": "3.0.55",
"description": "Reuseable React Components to build mapping apps for real life communities and networks", "description": "Reuseable React Components to build mapping apps for real life communities and networks",
"repository": "https://github.com/utopia-os/utopia-ui", "repository": "https://github.com/utopia-os/utopia-ui",
"homepage:": "https://utopia-os.org/", "homepage": "https://utopia-os.org/",
"module": "dist/index.js", "module": "dist/index.esm.js",
"main": "dist/index.cjs",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
"exports": { "exports": {
".": { ".": {
"import": "./dist/index.js", "import": "./dist/index.esm.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts" "types": "./dist/index.d.ts"
} }
}, },

View File

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