next-ory/authentication/next.config.mjs
2024-11-27 14:46:35 +01:00

13 lines
287 B
JavaScript

import withSerwistInit from '@serwist/next';
const withSerwist = withSerwistInit({
swSrc: 'src/app/service-worker.ts',
swDest: 'public/sw.js',
});
export default withSerwist({
output: 'standalone',
env: {
appVersion: process.env.npm_package_version,
},
});