[config only] enable sourcemapping in production (#1666)

This commit is contained in:
agrippa 2023-06-06 20:35:48 -04:00 committed by GitHub
parent 29adc9bea3
commit af23e6df94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ config = withTM({
pageExtensions: ['mdx', 'md', 'jsx', 'tsx', 'api.ts'], // .ts files are not pages
reactStrictMode: true,
productionBrowserSourceMaps: true,
env: {
MAIN_VIEW_SHOW_MAX_TOP_TOKENS_NUM:

View File

@ -1,5 +1,6 @@
{
"compilerOptions": {
"sourceMap": true,
"baseUrl": ".",
"target": "es6",
"lib": ["dom", "dom.iterable", "esnext"],