Skip to content

Commit

Permalink
"Elements" Web Components Support For ESM (#2084)
Browse files Browse the repository at this point in the history
* Fix `elements-api` web component export for correct work with Vite/React

* Fix `elements-stoplight-project` web component export for correct work with Vite/React
  • Loading branch information
aerialist7 committed May 8, 2022
1 parent b171d27 commit 3bc71b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/elements-dev-portal/package.json
Expand Up @@ -21,6 +21,7 @@
"module": "./dist/index.esm.js",
"exports": {
"./styles.min.css": "./styles.min.css",
"./web-components.min.js": "./web-components.min.js",
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
Expand Down
1 change: 1 addition & 0 deletions packages/elements/package.json
Expand Up @@ -21,6 +21,7 @@
"module": "./dist/index.esm.js",
"exports": {
"./styles.min.css": "./styles.min.css",
"./web-components.min.js": "./web-components.min.js",
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
Expand Down

0 comments on commit 3bc71b3

Please sign in to comment.