2020-12-07 01:51:00 +05:30
|
|
|
From d074f685027a6a8b03bcaaf1f0cb2ff08c167dc9 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Pirate Praveen <praveen@debian.org>
|
|
|
|
Date: Sun, 6 Dec 2020 18:24:33 +0000
|
|
|
|
Subject: [PATCH] Update worker-loader from 2.x to 3.x
|
|
|
|
|
|
|
|
---
|
|
|
|
config/webpack.config.js | 4 ++--
|
|
|
|
package.json | 2 +-
|
|
|
|
yarn.lock | 46 ++++++++++++++++++++++++++++++++++++++++
|
|
|
|
3 files changed, 49 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
--- a/config/webpack.config.js
|
|
|
|
+++ b/config/webpack.config.js
|
2021-01-29 14:51:13 +05:30
|
|
|
@@ -236,8 +236,8 @@
|
2020-12-07 01:51:00 +05:30
|
|
|
{
|
|
|
|
loader: 'worker-loader',
|
|
|
|
options: {
|
|
|
|
- name: '[name].[contenthash:8].worker.js',
|
|
|
|
- inline: IS_DEV_SERVER,
|
|
|
|
+ filename: '[name].[contenthash:8].worker.js',
|
|
|
|
+ inline: "fallback",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'babel-loader',
|