added chart.js path to build-profile of production env

This commit is contained in:
logsol 2015-03-02 19:48:05 +01:00
parent b52c16836c
commit 5eeb120799
2 changed files with 5 additions and 4 deletions

View file

@ -2,7 +2,8 @@
baseUrl: "../app",
paths: {
"screenfull": "../node_modules/screenfull/dist/screenfull",
"socketio": "../node_modules/socket.io/node_modules/socket.io-client/dist/socket.io"
"socketio": "../node_modules/socket.io/node_modules/socket.io-client/dist/socket.io",
"chart": "../node_modules/chart.js/Chart"
},
name: "../client",
out: "../build/client.min.js",

View file

@ -5,7 +5,7 @@ then
mkdir -p build
echo "- compiling client scripts.."
rm -f "build/client.min.js.gz"
node_modules/requirejs/bin/r.js -o config/build-profile.js > /dev/null \
node_modules/requirejs/bin/r.js -o config/build-profile.js \
&& gzip -c build/client.min.js > build/client.min.js.gz \
&& echo "- done."
else