Skip to content

Commit 0b78b63

Browse files
Add base-64 library and export vanilla and react
1 parent a9d4d68 commit 0b78b63

File tree

2 files changed

+29
-8
lines changed

2 files changed

+29
-8
lines changed

package-lock.json

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microbit-foundation/python-editor-embed",
3-
"version": "1.0.0",
3+
"version": "0.0.0",
44
"description": "",
55
"keywords": [],
66
"type": "module",
@@ -15,14 +15,14 @@
1515
"node": ">=20",
1616
"npm": ">=10"
1717
},
18-
"main": "./dist/index.cjs",
19-
"module": "./dist/index.js",
20-
"typings": "./dist/index.d.ts",
2118
"exports": {
22-
".": {
23-
"require": "./dist/index.cjs",
24-
"import": "./dist/index.js",
25-
"types": "./dist/index.d.ts"
19+
"./vanilla": {
20+
"import": "./dist/vanilla/index.js",
21+
"types": "./dist/vanilla/index.d.ts"
22+
},
23+
"./react": {
24+
"import": "./dist/react/index.js",
25+
"types": "./dist/react/index.d.ts"
2626
}
2727
},
2828
"scripts": {
@@ -39,6 +39,7 @@
3939
"react-dom": ">=18.0.0"
4040
},
4141
"dependencies": {
42+
"base64-js": "^1.5.1",
4243
"react": ">=18.0.0",
4344
"react-dom": ">=18.0.0",
4445
"tslib": ">=2.0.0",

0 commit comments

Comments
 (0)