Skip to content

Commit

Permalink
fix browserify and supply alternative unpkg entry point (closes #606)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qix- committed Sep 11, 2018
1 parent 7fb104b commit ab72571
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -11,7 +11,7 @@ dist: dist/debug.js dist/test.js
.INTERMEDIATE: dist/debug.es6.js
dist/debug.es6.js: src/*.js
@mkdir -p dist
browserify --standalone debug $< > $@
browserify --standalone debug . > $@

dist/debug.js: dist/debug.es6.js
@mkdir -p dist
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -45,5 +45,6 @@
"xo": "^0.23.0"
},
"main": "./src/index.js",
"browser": "./dist/debug.js"
"browser": "./src/browser.js",
"unpkg": "./dist/debug.js"
}

0 comments on commit ab72571

Please sign in to comment.