Skip to content

Commit 71eed37

Browse files
authored
Merge pull request #60 from multiversx/development
0.0.0-alpha.8
2 parents 12482bb + 552a774 commit 71eed37

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [[0.0.0-alpha.8](https://github.com/multiversx/mx-sdk-dapp-core-ui/pull/60)] - 2025-03-18
11+
12+
- [Fix react output config](https://github.com/multiversx/mx-sdk-dapp-core-ui/pull/59)
13+
1014
## [[0.0.0-alpha.7](https://github.com/multiversx/mx-sdk-dapp-core-ui/pull/58)] - 2025-03-18
1115

1216
- [Refactor package compile](https://github.com/multiversx/mx-sdk-dapp-core-ui/pull/57)

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@multiversx/sdk-dapp-core-ui",
3-
"version": "0.0.0-alpha.7",
3+
"version": "0.0.0-alpha.8",
44
"description": "A library to hold UI components for a dApp on the MultiversX blockchain",
55
"author": "MultiversX",
66
"license": "MIT",
@@ -16,9 +16,9 @@
1616
"require": "./dist/index.cjs.js",
1717
"types": "./dist/types/index.d.ts"
1818
},
19-
"./components/*": {
20-
"import": "./dist/components/*.js",
21-
"types": "./dist/components/*.d.ts"
19+
"./web-components": {
20+
"import": "./dist/web-components/*.js",
21+
"types": "./dist/web-components/*.d.ts"
2222
},
2323
"./loader": {
2424
"import": "./loader/index.js",
@@ -35,8 +35,7 @@
3535
"url": "https://github.com/multiversx/mx-sdk-dapp-core-ui.git"
3636
},
3737
"files": [
38-
"dist/",
39-
"loader/"
38+
"dist/"
4039
],
4140
"scripts": {
4241
"build": "stencil build",

stencil.config.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,21 @@ export const config: Config = {
3535
outputTargets: [
3636
reactOutputTarget({
3737
outDir: './dist/react',
38-
customElementsDir: 'dist/components',
38+
stencilPackageName: '../../dist/types',
39+
customElementsDir: '../web-components',
3940
excludeComponents,
4041
}),
4142

4243
{
4344
type: 'dist-custom-elements',
4445
externalRuntime: false,
4546
generateTypeDeclarations: true,
46-
dir: './dist/components',
47+
dir: './dist/web-components',
4748
},
4849

4950
{
5051
type: 'dist',
51-
esmLoaderPath: '../loader',
52+
esmLoaderPath: './loader',
5253
},
5354
{
5455
type: 'docs-readme',
@@ -58,9 +59,6 @@ export const config: Config = {
5859
serviceWorker: null, // disable service workers
5960
},
6061
],
61-
testing: {
62-
browserHeadless: 'new',
63-
},
6462
rollupPlugins: {
6563
after: [nodePolyfills()],
6664
},

0 commit comments

Comments
 (0)