Browse files

Merge pull request #29 from antris/docfix

Fixed optimizer config syntax (having .js will not compile)
  • Loading branch information...
2 parents 8c3e851 + a40f1ca commit 396c26c3e30ad11721de11bfa362d6f5bba41acb @jrburke jrburke committed Jun 14, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2
@@ -65,7 +65,7 @@ The [text]( and
Run the optimizer using [Node]( (also [works in Java](
- node r.js -o baseUrl=. name=path/to/almond.js include=main out=main-built.js wrap=true
+ node r.js -o baseUrl=. name=path/to/almond include=main out=main-built.js wrap=true
This assumes your project's top-level script file is called main.js and the command
above is run from the directory containing main.js. If you prefer to use a build.js build profile instead of command line arguments, [this RequireJS optimization section]( has info on how to do that.
@@ -104,7 +104,7 @@ or, if using a build config file:
baseUrl: '.',
- name: 'path/to/almond.js',
+ name: 'path/to/almond',
include: ['main'],
insertRequire: ['main'],
out: 'main-built.js',

0 comments on commit 396c26c

Please sign in to comment.