diff --git a/Makefile b/Makefile index e28468e6..5d91c19c 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/package.json b/package.json index b95373f8..dc50974e 100644 --- a/package.json +++ b/package.json @@ -46,5 +46,6 @@ "xo": "^0.23.0" }, "main": "./src/index.js", - "browser": "./dist/debug.js" + "browser": "./src/browser.js", + "unpkg": "./dist/debug.js" }