Skip to content

Commit

Permalink
Prepare modile stub for browser version
Browse files Browse the repository at this point in the history
Refs: #35
  • Loading branch information
tshemsedinov committed Nov 17, 2020
1 parent 6927e06 commit ca134db
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dist/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"parserOptions": {
"sourceType": "module"
}
}
2 changes: 2 additions & 0 deletions dist/metavm.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export class MetaScript {
}
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
"isolation"
],
"main": "metavm.js",
"browser": {
"./metavm.js": "./dist/metavm.js"
},
"files": [
"dist/",
"lib/"
],
"engines": {
Expand Down

0 comments on commit ca134db

Please sign in to comment.