tldraw/next.config.js

12 lines
245 B
JavaScript
Raw Normal View History

2021-06-29 19:31:32 +00:00
/* eslint-disable @typescript-eslint/no-var-requires */
const withPWA = require('next-pwa')
const isProduction = process.env.NODE_ENV === 'production'
2021-06-29 19:32:11 +00:00
module.exports = withPWA({
pwa: {
disable: !isProduction,
dest: 'public',
},
})