Skip to content

Commit daabc93

Browse files
.
1 parent 4ec866e commit daabc93

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

readme.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -83,20 +83,16 @@ Now, anytime you make a change to your library in `src/` or to the example app's
8383

8484
#### Publishing to NPM
8585

86-
Publish your package to `npm`:
87-
8886
```bash
8987
npm publish
9088
```
9189

92-
This also builds `cjs` and `es` versions of your module to `dist/`.
90+
This builds `cjs` and `es` versions of your module to `dist/` and then publishes your module to `npm`.
9391

9492
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.
9593

9694

97-
#### Github Pages
98-
99-
Deploy your example app to GitHub Pages:
95+
#### Deploying to Github Pages
10096

10197
```bash
10298
npm run deploy

template/typescript/rollup.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@ export default {
1313
{
1414
file: pkg.main,
1515
format: 'cjs',
16+
exports: 'named',
1617
sourcemap: true
1718
},
1819
{
1920
file: pkg.module,
2021
format: 'es',
22+
exports: 'named',
2123
sourcemap: true
2224
}
2325
],

0 commit comments

Comments
 (0)