Commit baa6438b authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'diff-worker-js-fix' into 'master'

Fixed diff_worker not compiling correctly

Closes #41182

See merge request gitlab-org/gitlab-ce!15966
parents f13b9bbb a69e7aff
...@@ -118,7 +118,10 @@ var config = { ...@@ -118,7 +118,10 @@ var config = {
}, },
{ {
test: /\_worker\.js$/, test: /\_worker\.js$/,
loader: 'worker-loader', use: [
{ loader: 'worker-loader' },
{ loader: 'babel-loader' },
],
}, },
{ {
test: /\.(worker(\.min)?\.js|pdf|bmpr)$/, test: /\.(worker(\.min)?\.js|pdf|bmpr)$/,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment