added wpa needed files. WPA is still WIP.
This commit is contained in:
@ -1,14 +1,17 @@
|
||||
const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer');
|
||||
const withPWA = require("next-pwa");
|
||||
const withPWA = require("next-pwa")({
|
||||
dest: 'public'
|
||||
});
|
||||
|
||||
|
||||
|
||||
module.exports = withPWA({
|
||||
pwa: {
|
||||
dest: "public",
|
||||
// register: true,
|
||||
// skipwaiting: true,
|
||||
// disable: process.env.NODE_ENV === "development",
|
||||
},
|
||||
// pwa: {
|
||||
// dest: "public",
|
||||
// // register: true,
|
||||
// // skipwaiting: true,
|
||||
// // disable: process.env.NODE_ENV === "development",
|
||||
// },
|
||||
typescript: {
|
||||
// !! WARN !!
|
||||
// Dangerously allow production builds to successfully complete even if
|
||||
|
Reference in New Issue
Block a user