Skip to content

Commit c9fe122

Browse files
committed
[fix] Parcel building error of Type export
1 parent f6132ae commit c9fe122

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

MobX/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mobx-web-cell",
3-
"version": "0.4.0-rc.1",
3+
"version": "0.4.0-rc.2",
44
"license": "LGPL-3.0",
55
"author": "[email protected]",
66
"description": "MobX adaptor for WebCell v2",
@@ -24,7 +24,7 @@
2424
},
2525
"dependencies": {
2626
"mobx": ">4.0.0 <6.0.0",
27-
"web-cell": "^2.4.0-rc.2"
27+
"web-cell": "^2.4.0-rc.3"
2828
},
2929
"devDependencies": {
3030
"@parcel/packager-ts": "^2.2.1",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "web-cell",
3-
"version": "2.4.0-rc.2",
3+
"version": "2.4.0-rc.3",
44
"description": "Web Components engine based on JSX & TypeScript",
55
"keywords": [
66
"web",

source/renderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import {
66
classModule,
77
styleModule,
88
eventListenersModule,
9-
VNode,
109
toVNode,
1110
h as createElement
1211
} from 'snabbdom';
12+
import type { VNode } from 'snabbdom';
1313

1414
import {
1515
VNodeChildElement,

source/utility/vDOM.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import type {
99
InputEventHandlers,
1010
BubbleEventHandlers
1111
} from 'web-utility';
12-
import { VNode } from 'snabbdom';
12+
import type { VNode } from 'snabbdom';
1313

1414
import { WebCellComponent } from '../WebCell';
1515

16-
export { VNode } from 'snabbdom';
16+
export type { VNode } from 'snabbdom';
1717

1818
export interface WebCellData extends HTMLProps {
1919
key?: string | number;

0 commit comments

Comments
 (0)