Skip to content

Commit

Permalink
Avoid including lodash string parsing in bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
megawac committed Jan 4, 2016
1 parent 08af90e commit 85f5be9
Show file tree
Hide file tree
Showing 23 changed files with 2,243 additions and 2,770 deletions.
12 changes: 4 additions & 8 deletions Makefile
Expand Up @@ -11,13 +11,6 @@ SRC = lib/index.js

all: lint test clean build

build: $(wildcard lib/*.js)
mkdir -p $(BUILDDIR)
browserify $(SRC) -o $(BUILDDIR)/async.js -s $(REQUIRE_NAME)
uglifyjs $(BUILDDIR)/async.js -mc \
--source-map $(BUILDDIR)/async.min.map \
-o $(BUILDDIR)/async.min.js

test:
npm test

Expand All @@ -31,11 +24,14 @@ lint:
submodule-clone:
git submodule update --init --recursive

build-bundle: #submodule-clone lint test
build-bundle: submodule-clone
$(NODE) scripts/build/modules-cjs.js
$(NODE) scripts/build/aggregate-bundle.js
$(NODE) scripts/build/aggregate-cjs.js


build: build-bundle

.PHONY: test lint build all clean

.PHONY: release-major release-minor release-patch
Expand Down

0 comments on commit 85f5be9

Please sign in to comment.