mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added chart.js path to build-profile of production env
This commit is contained in:
parent
b52c16836c
commit
5eeb120799
2 changed files with 5 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue