Skip to content
Snippets Groups Projects
Commit a9dbbe10 authored by Flupsi's avatar Flupsi
Browse files

fix(package): export main for umd consumption

parent 478941b6
No related branches found
No related tags found
No related merge requests found
Pipeline #36677 passed
...@@ -102,7 +102,7 @@ Funkwhale UI components should be properly documented before release to make dev ...@@ -102,7 +102,7 @@ Funkwhale UI components should be properly documented before release to make dev
## Release a new version ## Release a new version
```sh ```sh
export NEW_VERSION=0.4.0 export NEW_VERSION=0.4.1
yarn version --new-version $NEW_VERSION yarn version --new-version $NEW_VERSION
yarn changelog yarn changelog
git add package.json CHANGELOG.md git add package.json CHANGELOG.md
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
"dist", "dist",
"types" "types"
], ],
"main": "./dist/vui.umd.cjs",
"module": "./dist/vui.js", "module": "./dist/vui.js",
"exports": { "exports": {
".": { ".": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment