summaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-06-14 20:36:17 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 17:09:19 +0100
commit76edc5bad88a2c97d79e689c5b20b8de8ca179ea (patch)
treea5d9b17f78c9b31c99b2b7b9f46397a6bc357888 /webpack.config.js
parent2a8405769acd4f359d0a3f37423ddcaa7530b26e (diff)
downloadbrokentalents-76edc5bad88a2c97d79e689c5b20b8de8ca179ea.tar.gz
brokentalents-76edc5bad88a2c97d79e689c5b20b8de8ca179ea.zip
Remove PWA again
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 0987ccc..9bbbc0c 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -5,7 +5,6 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const PurgecssPlugin = require('purgecss-webpack-plugin');
const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
-const workboxPlugin = require('workbox-webpack-plugin');
module.exports = {
entry: path.resolve(__dirname, 'src/index.js'),
@@ -47,15 +46,6 @@ module.exports = {
}),
new OptimizeCssAssetsPlugin(),
].concat(process.env.NODE_ENV == 'production' ? [
- new workboxPlugin.GenerateSW({
- cacheId: 'brokentalents',
- swDest: '../service-worker.js',
- importWorkboxFrom: 'local',
- clientsClaim: true,
- skipWaiting: true,
- globDirectory: '.',
- globPatterns: ['dist/**/*.{jpg,png}'],
- }),
new PurgecssPlugin({
paths: glob.sync([
'./src/*.html',