From 94046e97d0bf21b07dad324d8706251923cb33e6 Mon Sep 17 00:00:00 2001 From: robcolbert Date: Wed, 3 Jul 2019 20:53:32 -0400 Subject: [PATCH] no service worker --- config/webpack/production.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/webpack/production.js b/config/webpack/production.js index cac76da7..8f52b923 100644 --- a/config/webpack/production.js +++ b/config/webpack/production.js @@ -95,13 +95,13 @@ module.exports = merge(sharedConfig, { '**/*-webfont-*.svg', '**/*.woff', ], - ServiceWorker: { - entry: `imports-loader?ATTACHMENT_HOST=>${encodeURIComponent(JSON.stringify(attachmentHost))}!${encodeURI(path.join(__dirname, '../../app/javascript/gabsocial/service_worker/entry.js'))}`, - cacheName: 'gabsocial', - output: '../assets/sw.js', - publicPath: '/sw.js', - minify: true, - }, + // ServiceWorker: { + // entry: `imports-loader?ATTACHMENT_HOST=>${encodeURIComponent(JSON.stringify(attachmentHost))}!${encodeURI(path.join(__dirname, '../../app/javascript/gabsocial/service_worker/entry.js'))}`, + // cacheName: 'gabsocial', + // output: '../assets/sw.js', + // publicPath: '/sw.js', + // minify: true, + // }, }), ], });