Since the bundling logic - aside file system/network access - is handled by Rollup, the remaining core functionality of denopack is based around plugins that use Deno APIs for key features. A list of included plugins and a collection of strategies are included in the plugin directory on Github. Documentation from Rollup regarding plugins is available on their docs site.
If you only need plugins or hooks - for example to create a config file - you can import straight from the mod.ts in the plugin directory.
import /* whatever plugins/hooks are needed */
"https://deno.land/x/[email protected]/plugin/mod.ts";
export default {
file: "mod.ts",
plugins: [ /* whatever plugins or hooks were
imported */ ],
};