Skip to content

Missing BundleAll method. #67

@MartynasZilinskas

Description

@MartynasZilinskas

In the newest version, BundleAll helper method is removed from Bundler class. We never used it ourselves, so if it's a breaking change for you, we want to know your use case.

Simple code that replicates what BundleAll was doing:

async function main(): Promise<void> {
    const filePaths: string[] = [];
    const bundler = new Bundler(undefined, __dirname);
    const bundledResultList = await Promise.all(filePaths.map(file => bundler.bundle(file)));
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions