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