From 58fc276a82e270838d42b58bbb6bbdbb9327c0cd Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Thu, 19 Sep 2024 08:25:57 +0000 Subject: [PATCH] lint --- packages/gatsby/README.md | 1 + packages/gatsby/test/gatsby-node.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/gatsby/README.md b/packages/gatsby/README.md index 1cd159f7e046..cf5eadf7045b 100644 --- a/packages/gatsby/README.md +++ b/packages/gatsby/README.md @@ -64,6 +64,7 @@ module.exports = { ], }; ``` + Additionally, you can delete source map files after they have been uploaded by setting the `deleteSourcemapsAfterUpload` option to be `true`. diff --git a/packages/gatsby/test/gatsby-node.test.ts b/packages/gatsby/test/gatsby-node.test.ts index 89e4f0970fbd..006cb6f9e2c0 100644 --- a/packages/gatsby/test/gatsby-node.test.ts +++ b/packages/gatsby/test/gatsby-node.test.ts @@ -1,5 +1,5 @@ -import { onCreateWebpackConfig } from '../gatsby-node'; import { sentryWebpackPlugin } from '@sentry/webpack-plugin'; +import { onCreateWebpackConfig } from '../gatsby-node'; jest.mock('@sentry/webpack-plugin', () => ({ sentryWebpackPlugin: jest.fn().mockReturnValue({ @@ -64,7 +64,7 @@ describe('onCreateWebpackConfig', () => { sourcemaps: expect.objectContaining({ filesToDeleteAfterUpload: ['./public/**/*.map'], }), - }) + }), ); }); });