remove hard-coded URLs for JS libraries
[sitka/overdrive-evergreen-opac.git] / build.js
CommitLineData
8ebc3fff
SC
1// Build specification for the use of r.js to minify js files
2// At the top-level directory, invoke as follows:
3//
4// # r.js -o build.js
5//
6({
7 appDir: './app' // un-minified input files
8 , baseUrl: './' // location of modules relative to appDir
9 , dir: './build' // minified output files
10
11 // Define bundles of local modules
12 , modules: [
13 { name: 'overdrive' }
14 ]
15
16 // Define external resources (eg, not sourced locally,from content delivery networks, etc)
17 , paths: {
bdca3e02
SC
18 jquery: 'empty:'
19 , 'jquery-ui': 'empty:'
20 , lodash: 'empty:'
21 , moment: 'empty:'
22 , cookies: 'empty:'
23 , json: 'empty:'
8ebc3fff
SC
24 }
25})