Skip to content

Commit

Permalink
Enclose in a paran
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravtiwari committed Dec 14, 2018
1 parent ffe6f84 commit 622958f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/rules/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { join } = require('path')
const { source_path: sourcePath, static_assets_extensions: fileExtensions } = require('../config')

module.exports = {
test: new RegExp(fileExtensions.join('|'), 'i'),
test: new RegExp(`(${fileExtensions.join('|')})`, 'i'),
use: [
{
loader: 'file-loader',
Expand Down

0 comments on commit 622958f

Please sign in to comment.