mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-17 07:18:04 +08:00
Replace license generator web infra to use Vite
This commit is contained in:
@@ -1 +0,0 @@
|
||||
// This is a dummy entry point for webpack
|
||||
2
frontend/src/vite-env-override.d.ts
vendored
2
frontend/src/vite-env-override.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
// Allow `import` statements to work with SVG files in the eyes of the TypeScript compiler.
|
||||
// This prevents red underlines from showing and lets it know the types of imported variables are strings.
|
||||
// The actual import is performed by Webpack when building, as configured in the module rules in `webpack.config.ts`.
|
||||
// The actual import is performed by Vite when building, as configured in the `resolve` aliases in `vite.config.ts`.
|
||||
declare module "*.svg" {
|
||||
const content: string;
|
||||
export default content;
|
||||
|
||||
Reference in New Issue
Block a user