Permalink
Browse files

Tightened sentence and fixed punctuation in R.js build config note.

  • Loading branch information...
1 parent 0497ca5 commit df84b8ba20643efb41a3c7962b6ea729edb08524 @dcmaf dcmaf committed Mar 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 chapters/08-modular-development.md
@@ -491,7 +491,7 @@ Assuming the code for our application and external dependencies are in `app/libs
out: 'dist/main.js',
```
-The paths above are relative to the `baseUrl` for our project and in our case it would make sense to make this the `app` folder. The `out` parameter informs r.js that we want to concatenate everything into a single file, that should be called `main.js` and be created within the `dist/` directory. Note that here, we do need to add the `.js` extension to the filename. Earlier we saw that when referencing modules by filenames, you don't need to use the `.js` extension, however this is one case in which you do.
+The paths above are relative to the `baseUrl` for our project and in our case it would make sense to make this the `app` folder. The `out` parameter informs r.js that we want to concatenate everything into a single file called `main.js` under the `dist/` directory. Note that here we do need to add the `.js` extension to the filename. Earlier, we saw that when referencing modules by filenames, you don't need to use the `.js` extension, however this is one case in which you do.
Alternatively, we can specify `dir`, which will ensure the contents of our `app` directory are copied into this directory. e.g:

0 comments on commit df84b8b

Please sign in to comment.