Plugin API for Parcel bundler - provides base classes for creating Parcel plugins including transformers, resolvers, bundlers, namers, runtimes, packagers, optimizers, compressors, reporters, and validators
67
A small CLI helper that runs the bundler in watch mode and exposes interactive CPU profiling and heap snapshot controls for rebuilds.
src/index.html launches the bundler in watch mode with interactive diagnostics turned on, keeps stdin open, and prints instructions for the built-in shortcuts that trigger profiling and heap snapshots. @test@generates
/**
* Starts a watch-mode diagnostics runner for the bundler.
*
* @param {string} entryFile - Entry file to watch (default: "src/index.html").
* @returns {Promise<void>}
*/
export async function runDiagnostics(entryFile = "src/index.html");Provides the watch-mode bundler with built-in CPU profiling toggles and heap snapshot capture keys.
Install with Tessl CLI
npx tessl i tessl/npm-parcel--plugindocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10