.
This commit is contained in:
parent
1389f7aa96
commit
a710a14376
2 changed files with 4 additions and 6 deletions
|
@ -83,20 +83,16 @@ Now, anytime you make a change to your library in `src/` or to the example app's
|
|||
|
||||
#### Publishing to NPM
|
||||
|
||||
Publish your package to `npm`:
|
||||
|
||||
```bash
|
||||
npm publish
|
||||
```
|
||||
|
||||
This also builds `cjs` and `es` versions of your module to `dist/`.
|
||||
This builds `cjs` and `es` versions of your module to `dist/` and then publishes your module to `npm`.
|
||||
|
||||
Make sure that any npm modules you want as peer dependencies are properly marked as `peerDependencies` in `package.json`. The rollup config will automatically recognize them as peers and not try to bundle them in your module.
|
||||
|
||||
|
||||
#### Github Pages
|
||||
|
||||
Deploy your example app to GitHub Pages:
|
||||
#### Deploying to Github Pages
|
||||
|
||||
```bash
|
||||
npm run deploy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue