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

Commit

Permalink
Correct the extension for the .options file
Browse files Browse the repository at this point in the history
Docs said to end with `.js`, but code is reading `.json`.
  • Loading branch information
optilude committed Jul 5, 2015
1 parent fc39739 commit ece7138
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,12 @@ In your browser's JavaScript console you can use the variable (`uppercase` if yo

## Passing options to Browserify

Browserify can be configured with additional options by adding a file with the same name as your `.browserify.js` file, but with the extension `.browserify.options.js`.
Browserify can be configured with additional options by adding a file with the same name as your `.browserify.js` file, but with the extension `.browserify.options.json`.

```
# example file structure:
- app.browserify.js # entry point
- app.browserify.options.js # options
- app.browserify.js # entry point
- app.browserify.options.json # options
```

You can use any [options that you can pass to the API](https://github.com/substack/node-browserify#browserifyfiles--opts).
Expand Down

0 comments on commit ece7138

Please sign in to comment.