read(path: string):
For a given file, return it's contents.
dependencies(pathStr: string): Array<string>
For a given entrypoint, return it's list of dependencies.
Returns an empty array if the entrypoint does not exist.
read(path: string):
For a given file, return it's contents.
dependencies(pathStr: string): Array<string>
For a given entrypoint, return it's list of dependencies.
Returns an empty array if the entrypoint does not exist.
Add Package
deno add jsr:@eser/bundler
Import symbol
import { type BuildSnapshot } from "@eser/bundler";
Import directly with a jsr specifier
import { type BuildSnapshot } from "jsr:@eser/bundler";
Add Package
pnpm i jsr:@eser/bundler
pnpm dlx jsr add @eser/bundler
Import symbol
import { type BuildSnapshot } from "@eser/bundler";
Add Package
yarn add jsr:@eser/bundler
yarn dlx jsr add @eser/bundler
Import symbol
import { type BuildSnapshot } from "@eser/bundler";
Add Package
vlt install jsr:@eser/bundler
Import symbol
import { type BuildSnapshot } from "@eser/bundler";
Add Package
npx jsr add @eser/bundler
Import symbol
import { type BuildSnapshot } from "@eser/bundler";
Add Package
bunx jsr add @eser/bundler
Import symbol
import { type BuildSnapshot } from "@eser/bundler";