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 78741cc commit cc5f146
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,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 cc5f146

Please sign in to comment.