services/algorithm/next.config.js
const { loadEnv } = require('@chocolab/env')
const withPWA = require('next-pwa')
loadEnv()
module.exports = withPWA({
env: {
HUB_API: process.env.HUB_API
},
pwa: {
dest: 'public'
},
cssLoaderOptions: {
url: false
},
devIndicators: {
autoPrerender: false
}
})