diff options
author | Mike Greiling <mgreiling@gitlab.com> | 2017-08-07 07:47:29 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-08-07 07:47:29 +0000 |
commit | d93527805569e9462b5f142d807b14eaaf179876 (patch) | |
tree | 74b0fa57a1674a494e2639ebe81385a8e996dbfa /config/webpack.config.js | |
parent | 4b3011e1c20077470ce946d703d98259f88ef268 (diff) | |
download | gitlab-ce-d93527805569e9462b5f142d807b14eaaf179876.tar.gz |
Fix issues with pdf-js dependencies
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r-- | config/webpack.config.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 8b0c64f9289..1205b90de40 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -110,9 +110,12 @@ var config = { options: { limit: 2048 }, }, { - test: /\.(worker\.js|pdf|bmpr)$/, + test: /\.(worker(\.min)?\.js|pdf|bmpr)$/, exclude: /node_modules/, loader: 'file-loader', + options: { + name: '[name].[hash].[ext]', + } }, { test: /locale\/\w+\/(.*)\.js$/, |