You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

next.config.js 324B

1234567891011121314
  1. /* eslint-disable @typescript-eslint/no-var-requires */
  2. const withTM = require('next-transpile-modules')(['@tldraw/tldraw'])
  3. const { NODE_ENV } = process.env
  4. const isProduction = NODE_ENV === 'production'
  5. module.exports = withTM({
  6. reactStrictMode: true,
  7. pwa: {
  8. disable: !isProduction,
  9. dest: 'public',
  10. },
  11. })