diff --git a/packages/snaps-cli/README.md b/packages/snaps-cli/README.md index 063ef6a8d7..26bede0e64 100644 --- a/packages/snaps-cli/README.md +++ b/packages/snaps-cli/README.md @@ -232,7 +232,7 @@ the bundle, mangle variable names, and perform other optimizations. #### `sourceMap` - Type: `boolean | "inline"` -- Default: `true` +- Default: `false` Whether to generate a source map. If `"inline"`, the source map will be inlined in the bundle. Otherwise, it will be written to a separate file. diff --git a/packages/snaps-cli/src/config.ts b/packages/snaps-cli/src/config.ts index 52b84c2585..e311a1b3c9 100644 --- a/packages/snaps-cli/src/config.ts +++ b/packages/snaps-cli/src/config.ts @@ -50,7 +50,7 @@ export type SnapConfig = { * be generated as separate files. If `'inline'`, source maps will be * inlined in the generated JavaScript bundle. * - * @default true + * @default false */ sourceMap?: boolean | 'inline';