Skip to content

Commit 4ed3ed2

Browse files
committed
add links to hooks docs to npm rollup plugins
1 parent 782e6f6 commit 4ed3ed2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rollup/plugins/npmPlugins.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/**
2+
* Rollup plugin hooks docs: https://rollupjs.org/guide/en/#build-hooks and
3+
* https://rollupjs.org/guide/en/#output-generation-hooks
4+
*
25
* Regex Replace plugin docs: https://github.com/jetiny/rollup-plugin-re
36
* Replace plugin docs: https://github.com/rollup/plugins/tree/master/packages/replace
47
* Sucrase plugin docs: https://github.com/rollup/plugins/tree/master/packages/sucrase
@@ -50,7 +53,8 @@ export function makeConstToVarPlugin() {
5053
/**
5154
* Create a plugin which can be used to pause the build process at the given hook.
5255
*
53-
* Hooks can be found here: https://rollupjs.org/guide/en/#build-hooks.
56+
* Hooks can be found at https://rollupjs.org/guide/en/#build-hooks and
57+
* https://rollupjs.org/guide/en/#output-generation-hooks.
5458
*
5559
* @param hookName The name of the hook at which to pause.
5660
* @returns A plugin which inserts a debugger statement in the phase represented by the given hook

0 commit comments

Comments
 (0)