or run

npx @tessl/cli init
Log in

Version

Files

tile.json

task.mdevals/scenario-5/

Parcel Build Configurator

Creates a build helper that runs the bundler with explicit toggles for caching, config selection, source map output, and automatic dependency installation.

Capabilities

Cache control

  • Turns off the build cache when requested so no cached artifacts are reused. @test
  • Uses a caller-provided cache directory instead of the default location. @test

Config selection

  • Applies a supplied config file path instead of falling back to project defaults. @test

Source map toggle

  • Skips emitting source maps when source maps are disabled. @test

Auto-install toggle

  • Prevents automatic dependency installation when auto-install is disabled. @test

Implementation

@generates

API

export interface BundleOptions {
  entries: string[];
  distDir?: string;
  cacheDir?: string;
  useCache?: boolean;
  configPath?: string;
  enableSourceMaps?: boolean;
  autoInstall?: boolean;
}

export interface BundleResult {
  bundles: string[];
  buildTimeMs: number;
  cacheDirUsed: string;
  sourceMapsEmitted: boolean;
  autoInstallEnabled: boolean;
}

export async function runBuild(options: BundleOptions): Promise<BundleResult>;

Dependencies { .dependencies }

parcel { .dependency }

Runs the bundler with configurable caching, config selection, source map emission, and auto-install toggles.