Browse Source

Added `browser` field to the package.json

sanex3339 7 years ago
parent
commit
6940249ff8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -15,6 +15,7 @@
     "node": ">=6.11.5"
     "node": ">=6.11.5"
   },
   },
   "main": "dist/index.js",
   "main": "dist/index.js",
+  "browser": "dist/index.browser.js",
   "bin": {
   "bin": {
     "javascript-obfuscator": "./bin/javascript-obfuscator"
     "javascript-obfuscator": "./bin/javascript-obfuscator"
   },
   },