Skip to content

Commit 26109b3

Browse files
amoshydragauravtiwari
authored andcommitted
Fix file-loader compat issue in webpacker 5 (#2668)
1 parent 9044422 commit 26109b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package/rules/file.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
}
1414
return 'media/[folder]/[name]-[hash:8].[ext]'
1515
},
16+
esModule: false,
1617
context: join(sourcePath)
1718
}
1819
}

0 commit comments

Comments
 (0)