Skip to content

Commit

Permalink
fix: export package.json
Browse files Browse the repository at this point in the history
closes #157
  • Loading branch information
panva committed Jan 26, 2021
1 parent c60953f commit 8c29107
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
}
},
"exports": {
"./package.json": "./package.json",
"./jwe/compact/decrypt": {
"browser": "./dist/browser/jwe/compact/decrypt.js",
"import": "./dist/node/esm/jwe/compact/decrypt.js",
Expand Down
2 changes: 1 addition & 1 deletion tools/explode-exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const exp = all.reduce((acc, mod) => {
require: "./dist/node/webcrypto/cjs/" + foo + ".js",
};
return acc;
}, {});
}, { './package.json': './package.json' });

package.exports = exp;

Expand Down

0 comments on commit 8c29107

Please sign in to comment.