diff --git a/config/build-profile.js b/config/build-profile.js index d0736ec..ed028e7 100644 --- a/config/build-profile.js +++ b/config/build-profile.js @@ -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", @@ -10,4 +11,4 @@ var contents = contents.replace(/\" \+ GLOBALS.context \+ \"/g, "Client"); return contents; } -}) \ No newline at end of file +}) diff --git a/scripts/build.sh b/scripts/build.sh index f9da283..4b58bcb 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -5,9 +5,9 @@ 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 echo "[ DEVELOPMENT ]" -fi \ No newline at end of file +fi