Fix PWA setup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user