From f55e9e6c1352183576fdb974d1810556a7473897 Mon Sep 17 00:00:00 2001 From: Jeffrey Wescott Date: Tue, 22 Sep 2015 09:43:08 -0700 Subject: [PATCH] ensure that we use the right babel configuration when doing postinstall --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b20a88a68..4614a937c 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ }, "bugs": "https://github.com/rackt/history/issues", "scripts": { - "build": "babel ./modules --babelrc .babelrc -d lib --ignore '__tests__'", + "build": "babel ./modules --stage 0 --loose -d lib --ignore '__tests__'", "build-umd": "NODE_ENV=production webpack modules/index.js umd/History.js", "build-min": "NODE_ENV=production webpack -p modules/index.js umd/History.min.js", "start": "webpack-dev-server -d --content-base ./ --history-api-fallback --inline modules/index.js",