From 7f2550efb248920cc4c6df95dd1e6b876360e57d Mon Sep 17 00:00:00 2001 From: fi3ework Date: Sat, 2 Mar 2024 17:03:04 +0800 Subject: [PATCH] feat: add rspack and rsbuild icons --- icons/rsbuild.svg | 1 + icons/rspack.svg | 1 + src/icons/fileIcons.ts | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 icons/rsbuild.svg create mode 100644 icons/rspack.svg diff --git a/icons/rsbuild.svg b/icons/rsbuild.svg new file mode 100644 index 0000000000..15560722c4 --- /dev/null +++ b/icons/rsbuild.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/rspack.svg b/icons/rspack.svg new file mode 100644 index 0000000000..5fcb6b4488 --- /dev/null +++ b/icons/rspack.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index 937d791a1e..e8d0809ac1 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -1182,6 +1182,26 @@ export const fileIcons: FileIcons = { 'webpackfile.mts', ], }, + { + name: 'rspack', + fileNames: [ + 'rspack.config.js', + 'rspack.config.ts', + 'rspack.config.cjs', + 'rspack.config.mjs', + ], + }, + { + name: 'rsbuild', + fileNames: [ + 'rsbuild.config.ts', + 'rsbuild.config.js', + 'rsbuild.config.mjs', + 'rsbuild.config.cjs', + 'rsbuild.config.mts', + 'rsbuild.config.cts', + ], + }, { name: 'ionic', fileNames: ['ionic.config.json', '.io-config.json'] }, { name: 'gulp',