Permalink
Browse files

update build shell

  • Loading branch information...
1 parent 31dad9f commit 1c47b8dd00943aba03a5260729d62cd209b0ac8e @100pah 100pah committed Mar 2, 2016
Showing with 10 additions and 5 deletions.
  1. +10 −5 build/build.sh
View
@@ -1,10 +1,15 @@
#!/bin/bash
-cd ../
+
+basePath=$(cd `dirname $0`; pwd)
+cd ${basePath}/../
rm -r dist
npm run prepublish
-webpack
-webpack -p
-webpack --config extension/webpack.config.js
-webpack --config extension/webpack.config.js -p
+
+./node_modules/.bin/webpack
+./node_modules/.bin/webpack -p
+./node_modules/.bin/webpack --config extension/webpack.config.js
+./node_modules/.bin/webpack --config extension/webpack.config.js -p
+
+

0 comments on commit 1c47b8d

Please sign in to comment.