Skip to content

Allow from to be array of paths / glob, respect order #631

@emkayy

Description

@emkayy

Feature Proposal

Please allow the from property to contain an array of paths / glob patterns
because I need to include files from several different locations and copy them all into one folder.
This is quite ugly and verbose doing it with glob.

The assets array in transformAll should then be returned in the order of the from array so you can rely on javascript execution order.

Feature Use Case

Copying and or concatenating and transforming (javascript) files from multiple locations into one file / folder.

Please paste the results of npx webpack-cli info here, and mention other relevant information

not relevant

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