d7002057d7
This PR moves the tldraw.com app into the public repo. ### Change Type - [x] `internal` — Any other changes that don't affect the published package[^2] --------- Co-authored-by: Dan Groshev <git@dgroshev.com> Co-authored-by: alex <alex@dytry.ch>
25 lines
545 B
JavaScript
25 lines
545 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: true,
|
|
swcMinify: true,
|
|
transpilePackages: [],
|
|
productionBrowserSourceMaps: true,
|
|
webpack: (config, context) => {
|
|
config.module.rules.push({
|
|
test: /\.(svg|json|woff2)$/,
|
|
type: 'asset/resource',
|
|
})
|
|
return config
|
|
},
|
|
redirects: async () => {
|
|
return [{ source: '/', destination: 'https://www.tldraw.com/', permanent: false }]
|
|
},
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig
|