From b7bad7004390331b64d923e8d974b083440c6582 Mon Sep 17 00:00:00 2001 From: Francis Turmel <4009209+fturmel@users.noreply.github.com> Date: Fri, 24 Feb 2023 12:40:35 -0500 Subject: [PATCH] Gatsby - add new supported file extensions Since 5.3, Gatsby officially supports ESM for the `gatsby-config` and `gatsby-node` files, but they require an `mjs` extension. Sources: https://www.gatsbyjs.com/docs/reference/release-notes/v5.3/#es-modules-esm-in-gatsby-files https://github.com/vscode-icons/vscode-icons/pull/3204 --- src/icons/fileIcons.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index e4139b6da9..1b27c5eeab 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -1487,9 +1487,11 @@ export const fileIcons: FileIcons = { { name: 'gatsby', fileNames: [ - 'gatsby-config.ts', 'gatsby-config.js', + 'gatsby-config.mjs', + 'gatsby-config.ts', 'gatsby-node.js', + 'gatsby-node.mjs', 'gatsby-node.ts', 'gatsby-browser.js', 'gatsby-browser.tsx',