Permalink
Browse files

new minified and unminified build output

  • Loading branch information...
garris committed Jan 31, 2015
1 parent af542f1 commit bd1605756d999552a1351eb4bcb42a1bb02da2be
Showing with 27 additions and 4 deletions.
  1. +4 −1 README.md
  2. +1 −1 bower.json
  3. +3 −2 build.js
  4. +19 −0 build_min.js
View
@@ -74,7 +74,10 @@ with the test server running (or you can skip that part and use a browser with s
cd to the tremulajs directory then...
$ node r.js -o build.js; node r.js -o cssIn=src/Tremula.css out=dist/Tremula.css optimizeCss=standard
$ node r.js -o build.js; node r.js -o cssIn=src/Tremula.css out=dist/Tremula.css;node r.js -o build_min.js; node r.js -o cssIn=src/Tremula.css out=dist/Tremula.min.css optimizeCss=standard
### Dependencies
View
@@ -1,6 +1,6 @@
{
"name": "TremulaJS",
"version": "1.2.3",
"version": "1.2.4",
"main": "dist/",
"ignore": [
"node_modules",
View
@@ -1,5 +1,6 @@
// TO BUILD: cd to the /TremulaJS/ directory (the directory with this file) and run...
// $ node r.js -o build.js; node r.js -o cssIn=src/Tremula.css out=dist/Tremula.css optimizeCss=standard
// $ node r.js -o build.min.js; node r.js -o cssIn=src/Tremula.css out=dist/Tremula.css optimizeCss=standard
// $ node r.js -o build.js; node r.js -o cssIn=src/Tremula.css out=dist/Tremula.css optimizeCss=none
({
@@ -12,7 +13,7 @@
,include: "Tremula"
,insertRequire:['Tremula']
,wrap: true
// ,optimize:'none'
,optimize:'none'
// ,generateSourceMaps: true
// ,preserveLicenseComments: true
View
@@ -0,0 +1,19 @@
// TO BUILD: cd to the /TremulaJS/ directory (the directory with this file) and run...
// $ node r.js -o build.js; node r.js -o cssIn=src/Tremula.css out=dist/Tremula.css optimizeCss=standard
({
//- paths are relative to this build.js file
baseUrl: "src" //- this is the directory where the source .js goes
//,dir: "dist" //- this is the directory that the new files will be. it will be created if it doesn't exist
,out:'dist/Tremula.min.js'//this is the name of the new compiled js file
// ,removeCombined: true //
,name: "almond"
,include: "Tremula"
,insertRequire:['Tremula']
,wrap: true
// ,optimize:'none'
// ,generateSourceMaps: true
// ,preserveLicenseComments: true
})

0 comments on commit bd16057

Please sign in to comment.