r.js minify
This commit is contained in:
parent
5651c605de
commit
5a5c3e2263
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
bower_components/
|
||||
app-combined.js
|
||||
|
|
|
@ -6,3 +6,11 @@ modules, run
|
|||
bower install
|
||||
|
||||
in its root directory.
|
||||
|
||||
# Building
|
||||
|
||||
Just run:
|
||||
|
||||
node bower_components/r.js/dist/r.js -o build.js
|
||||
|
||||
This will create `app-combined.js`.
|
||||
|
|
1
app.js
1
app.js
|
@ -1,5 +1,4 @@
|
|||
require.config({
|
||||
urlArgs: "bust=" + (new Date()).getTime(),
|
||||
baseUrl: "lib",
|
||||
paths: {
|
||||
"leaflet": "../bower_components/leaflet/dist/leaflet",
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
"requirejs": "~2.1.16",
|
||||
"tablesort": "https://github.com/tristen/tablesort.git#v3.0.2",
|
||||
"roboto-slab-fontface": "*",
|
||||
"es6-shim": "~0.27.1"
|
||||
"es6-shim": "~0.27.1",
|
||||
"almond": "~0.3.1",
|
||||
"r.js": "~2.1.16"
|
||||
},
|
||||
"authors": [
|
||||
"Nils Schneider <nils@nilsschneider.net>"
|
||||
|
|
Loading…
Reference in a new issue