diff --git a/Makefile b/Makefile index 4e9fcf2..525e397 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -PATH := node_modules/.bin:$(PATH) SHELL := /bin/bash +PATH := $(shell echo $${PATH//\.\/node_modules\/\.bin:/}):node_modules/.bin SRC = $(wildcard src/*.js) LIB = $(SRC:src/%.js=lib/%.js) @@ -11,7 +11,7 @@ v ?= patch build: node_modules $(LIB) lib/%.js: src/%.js @mkdir -p $(@D) - @browserify $< --standalone $(@F:%.js=%) | uglifyjs -o $@ + @browserify --exclude @websdk/rhumb $< --standalone $(@F:%.js=%) > $@ node_modules: package.json $(NPM) diff --git a/package.json b/package.json index e87431a..bda91f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@websdk/nap", - "version": "0.9.8", + "version": "0.10.0", "description": "Organizing applications into resources", "main": "lib/nap.js", "devDependencies": {