You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ Rollpkg uses the TypeScript compiler to transform your code to `ES2018` (default
203
203
-`rollpkg build`
204
204
- For most use cases no options are needed, just run the `rollpkg build` command. It creates `esm` and `cjs` builds with source maps and `*.d.ts` type files.
- You can specify a custom path or name for your `tsconfig` if needed. By default Rollpkg will look in the root of your project for a `tsconfig.json` file.
206
+
- You can specify a custom path or name for your `tsconfig` if needed. This option also works in watch mode with `rollpkg watch`. By default Rollpkg will look in the root of your project for a `tsconfig.json` file.
207
207
-`rollpkg build --addUmdBuild`
208
208
- By default `rollpkg build` only creates `esm` and `cjs` builds, use this option to also create `umd` builds.
209
209
-`rollpkg build --noStats`
@@ -248,6 +248,7 @@ Rollpkg uses the TypeScript compiler to transform your code to `ES2018` (default
248
248
- Only creates the `esm` build so rebuilds are lightning quick.
249
249
- Use `ctrl c` to exit watch mode.
250
250
- Watch mode always exits `0` (non-error state) so you can chain commands in npm scripts, for example `rollpkg watch && npm run ...` (if watch mode didn't exit `0`, then `npm run ...` would never run).
251
+
- Can specify a custom name or path for your `tsconfig` using `rollpkg watch --tsconfig ./path/to/tsconfig.build.json`
0 commit comments