Skip to content

Commit

Permalink
[config only] enable sourcemapping in production (solana-labs#1666)
Browse files Browse the repository at this point in the history
  • Loading branch information
asktree authored Jun 7, 2023
1 parent 29adc9b commit af23e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"sourceMap": true,
"baseUrl": ".",
"target": "es6",
"lib": ["dom", "dom.iterable", "esnext"],
Expand Down

0 comments on commit af23e6d

Please sign in to comment.