tldraw/packages/www/next.config.js
2021-09-04 13:02:13 +01:00

14 lines
324 B
JavaScript

/* eslint-disable @typescript-eslint/no-var-requires */
const withTM = require('next-transpile-modules')(['@tldraw/tldraw'])
const { NODE_ENV } = process.env
const isProduction = NODE_ENV === 'production'
module.exports = withTM({
reactStrictMode: true,
pwa: {
disable: !isProduction,
dest: 'public',
},
})