Skip to content

Commit

Permalink
docs: Suggest compile package in library docs (seek-oss#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcompiles authored and markdalgleish committed Feb 26, 2019
1 parent 4207d50 commit bb90f1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

If you need to build a UMD library instead of a web site, you can provide a `libraryEntry` and `libraryName` option instead:

> If you are creating a package to share between multiple sku apps, then you probably want [compile packages](./docs/extra-features#compile-packages) instead. Libraries should only be used when you have very little control over the target environment (e.g. legacy applications, externally hosted solutions like Auth0).
```js
modules.exports = {
libraryEntry: 'src/library.js',
Expand Down

0 comments on commit bb90f1f

Please sign in to comment.