Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vite.config.js')
-rw-r--r--vite.config.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/vite.config.js b/vite.config.js
index 6ff6cda0288..9bbfc37903f 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,6 +1,5 @@
import path from 'path';
import { defineConfig } from 'vite';
-import svgLoader from 'vite-svg-loader';
import vue from '@vitejs/plugin-vue2';
import graphql from '@rollup/plugin-graphql';
import RubyPlugin from 'vite-plugin-ruby';
@@ -69,6 +68,10 @@ export default defineConfig({
find: '~/',
replacement: javascriptsPath,
},
+ {
+ find: '~katex',
+ replacement: 'katex',
+ },
],
},
plugins: [
@@ -81,9 +84,6 @@ export default defineConfig({
},
}),
graphql(),
- svgLoader({
- defaultImport: 'raw',
- }),
viteCommonjs({
include: [path.resolve(javascriptsPath, 'locale/ensure_single_line.cjs')],
}),