Function: getAssetExtensionsRegExp

getAssetExtensionsRegExp(extensions): RegExp

Creates RegExp from array of asset extensions.

Parameters

Name Type Description
extensions string[] Extensions array.

Returns

RegExp

RegExp with extensions.

Defined in

packages/repack/src/webpack/utils/assetExtensions.ts:51