Fix PWA setup

This commit is contained in:
Aarni Halinen
2021-02-20 20:41:49 +02:00
parent 1d9365ea31
commit 777db1412b
68 changed files with 236 additions and 2261 deletions
-13
View File
@@ -1,5 +1,3 @@
const FaviconsWebpackPlugin = require("favicons-webpack-plugin");
const withBundleAnalyzer = require("@next/bundle-analyzer")({
enabled: process.env.ANALYZE === "true",
});
@@ -16,15 +14,4 @@ module.exports = withBundleAnalyzer({
"placehold.it"
],
},
webpack: (config) => {
config.plugins.push(
new FaviconsWebpackPlugin({
logo: "./public/favicon.png",
outputPath: "../public/favicons",
prefix: "/favicons",
inject: false
})
);
return config;
}
});