refactor(@embarkjs/snark): use same "main" pattern as other packages

This commit is contained in:
Michael Bradley, Jr 2020-03-19 14:44:19 -05:00 committed by Michael Bradley
parent 11b53970fb
commit ece942b3a8
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
module.exports = require('./dist/node');

View File

@ -22,7 +22,7 @@
"type": "git",
"url": "https://github.com/embark-framework/embark.git"
},
"main": "./dist/node/index.js",
"main": "./index.js",
"types": "./dist/index.d.ts",
"browser": {
"./dist/node/index.js": "./dist/browser/index.js",