Skip to content

Commit feb8461

Browse files
author
Elson Correia
committed
update client export
1 parent 053ea9e commit feb8461

File tree

2 files changed

+3
-36
lines changed

2 files changed

+3
-36
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@beforesemicolon/web-component",
3-
"version": "1.11.1-next",
3+
"version": "1.11.2-next",
44
"description": "Enhanced Markup with ability to create native Web Components",
55
"engines": {
66
"node": ">=18.16.0"

src/client.ts

Lines changed: 2 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
import { WebComponent } from './web-component'
2-
import {
3-
html,
4-
state,
5-
and,
6-
effect,
7-
is,
8-
isNot,
9-
oneOf,
10-
or,
11-
pick,
12-
when,
13-
element,
14-
repeat,
15-
suspense,
16-
val,
17-
} from '@beforesemicolon/markup'
2+
import * as MARKUP from '@beforesemicolon/markup'
183

194
declare global {
205
interface Window {
@@ -28,25 +13,7 @@ declare global {
2813
if (window) {
2914
window.BFS = {
3015
...(window.BFS || {}),
31-
MARKUP: {
32-
...(window.BFS?.MARKUP || {}),
33-
html,
34-
state,
35-
effect,
36-
// helpers
37-
and,
38-
is,
39-
isNot,
40-
oneOf,
41-
or,
42-
pick,
43-
repeat,
44-
when,
45-
// utils
46-
element,
47-
suspense,
48-
val,
49-
} as typeof import('@beforesemicolon/markup'),
16+
MARKUP,
5017
WebComponent,
5118
}
5219
}

0 commit comments

Comments
 (0)