-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON custom typescript #2940
base: master
Are you sure you want to change the base?
JSON custom typescript #2940
Conversation
# Conflicts: # package-lock.json # packages/admin/src-admin/package.json # packages/admin/src-admin/src/bootstrap.tsx # packages/admin/tasks.js
import { defineConfig } from 'vite'; | ||
import react from '@vitejs/plugin-react'; | ||
import commonjs from 'vite-plugin-commonjs'; | ||
import svgr from 'vite-plugin-svgr'; |
Check notice
Code scanning / CodeQL
Unused variable, import, function or class Note
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix AI 1 day ago
To fix the problem, we need to remove the unused import statement for svgr
. This will clean up the code and eliminate any confusion about the purpose of the import. The change should be made in the packages/admin/src-admin/vite.config.ts
file.
-
Copy modified line R4
@@ -3,3 +3,3 @@ | ||
import commonjs from 'vite-plugin-commonjs'; | ||
import svgr from 'vite-plugin-svgr'; | ||
|
||
import vitetsConfigPaths from 'vite-tsconfig-paths'; |
# Conflicts: # packages/admin/src-admin/package.json # packages/admin/src-admin/src/bootstrap.tsx # packages/jsonConfig/src/JsonConfigComponent/ConfigCustom.tsx
…n-custom-typescript # Conflicts: # packages/admin/src-admin/package.json
…ioBroker.admin into json-custom-typescript # Conflicts: # packages/admin/src-admin/src/index.tsx # packages/jsonConfig/src/JsonConfigComponent/ConfigCustom.tsx
No description provided.