Skip to content
Snippets Groups Projects
Verified Commit a69e7aff authored by Phil Hughes's avatar Phil Hughes
Browse files

changed webpack config

parent df4fe43d
No related branches found
No related tags found
No related merge requests found
import { computeDiff } from './diff';
 
// eslint-disable-next-line prefer-arrow-callback
self.addEventListener('message', function diffWorker(e) {
self.addEventListener('message', (e) => {
const data = e.data;
 
self.postMessage({
Loading
Loading
Loading
Loading
@@ -118,7 +118,10 @@ var config = {
},
{
test: /\_worker\.js$/,
loader: 'worker-loader',
use: [
{ loader: 'worker-loader' },
{ loader: 'babel-loader' },
],
},
{
test: /\.(worker(\.min)?\.js|pdf|bmpr)$/,
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment