Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Fix typo/syntax in using-modules.md (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
eqmvii authored and paulmillr committed May 14, 2018
1 parent abfc263 commit e320fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/_docs/using-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Organizing your JS code by modules is a central idea in Brunch.
It allows your files to each have a separate scope, and also execute only when needed.

File name is also it module name.
A file's name is also its module name.
To make things a bit nicer, Brunch cuts the `app` portion from the module name.
For example, `app/config.js` will have a module name of `config.js`.
With CommonJS, your modules will return values by putting them into `module.exports`, just like you would with Node.
Expand Down

0 comments on commit e320fc9

Please sign in to comment.