test-progressive-web-app/next.config.js

16 lines
396 B
JavaScript
Raw Normal View History

/** @type {import('next').NextConfig} */
const withPWA = require('next-pwa')({
dest: 'public',
})
module.exports = withPWA({
2023-10-31 21:17:17 +00:00
env: {
CERC_TEST_WEBAPP_CONFIG1: process.env.CERC_TEST_WEBAPP_CONFIG1,
CERC_TEST_WEBAPP_CONFIG2: process.env.CERC_TEST_WEBAPP_CONFIG2,
CERC_WEBAPP_DEBUG: process.env.CERC_WEBAPP_DEBUG,
},
2023-11-10 00:23:18 +00:00
experimental: {
staticWorkerRequestDeduping: true,
}
})