Skip to content

Commit

Permalink
update exports config (v0.3.2)
Browse files Browse the repository at this point in the history
- revert export core module when in non-node environment by default (9581846)
- add `main` & `types` to support typing in .js
  • Loading branch information
fityannugroho committed Nov 19, 2023
1 parent 9581846 commit 055f9b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
{
"name": "wisely",
"version": "0.3.1",
"version": "0.3.2",
"description": "Obfuscating text or phrases with random uncommon characters to avoid banning.",
"type": "module",
"files": [
"charsets/",
"dist/"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"node": "./dist/index.js",
"default": "./dist/core.js"
},
".": "./dist/index.js",
"./core": "./dist/core.js",
"./charsets/*": "./charsets/*"
},
Expand Down

0 comments on commit 055f9b5

Please sign in to comment.