Skip to content

Commit

Permalink
Add info about NPM main file to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
themeblvd committed Jul 28, 2018
1 parent 0e22c4f commit 89c0807
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,9 @@ $(document).ready(function() {
```

*Note: Front Street's JavaScript source files utilize ES modules (ESM). So, for custom bundling, you'll need to make sure to use a bundling tool that supports this, like [Webpack](https://webpack.js.org/) or [Rollup](https://rollupjs.org/guide/en).*

And if you're looking to just include the full Front Street distributed JavaScript into your bundle, that's the the NPM package's main file.

```javascript
import 'frontstreet';
```

0 comments on commit 89c0807

Please sign in to comment.