Skip to content

Commit

Permalink
Add note about .gitignore/.npmignore to plugin guide
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanSanchez committed Jan 22, 2016
1 parent ccdeb4e commit bd0ffc4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions PLUGIN-GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,11 @@ trigger a build/minification just before publishing your package with a
}
```

You can then use the [`.gitignore`](https://help.github.com/articles/ignoring-files/)
file to make sure the minified files are not versioned, and an
[empty `.npmignore`](https://docs.npmjs.com/misc/developers#keeping-files-out-of-your-package)
to ensure that they are published to NPM.

## Module Loaders

Module loaders such as [RequireJS](http://requirejs.org/) and [Browserify](http://browserify.org/) implement module systems like AMD (Asynchronous Module Definition) and CommonJS to allow developers to modularize and load their code.
Expand Down

0 comments on commit bd0ffc4

Please sign in to comment.