Skip to content

Allow braced sections #88

@monolithed

Description

@monolithed

Actual

new CopyWebpackPlugin([
	{
		from: 'file1'
	},

	{
		from: 'file2'
	},
	{
		from: 'dir/'
	}
])

Expected

new CopyWebpackPlugin([
	{
		from: '{file1,file2,dir/}'
	}
])

The current error:

ERROR in [copy-webpack-plugin] unable to locate './{file1,file2}' at '/{file1,file2}'

I've already tried the glob option, but it does not work as well #87

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions