From ece942b3a828225a97e38e87e13dd4825e311695 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Thu, 19 Mar 2020 14:44:19 -0500 Subject: [PATCH] refactor(@embarkjs/snark): use same "main" pattern as other packages --- packages/embarkjs/snark/index.js | 1 + packages/embarkjs/snark/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 packages/embarkjs/snark/index.js diff --git a/packages/embarkjs/snark/index.js b/packages/embarkjs/snark/index.js new file mode 100644 index 000000000..9f3bd7ad9 --- /dev/null +++ b/packages/embarkjs/snark/index.js @@ -0,0 +1 @@ +module.exports = require('./dist/node'); diff --git a/packages/embarkjs/snark/package.json b/packages/embarkjs/snark/package.json index 31ef59f21..8fa9f5413 100644 --- a/packages/embarkjs/snark/package.json +++ b/packages/embarkjs/snark/package.json @@ -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",