xingyu4j 2 месяцев назад
Родитель
Сommit
306739cabb
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      internal/vite-config/src/plugins/html.ts
  2. 1 1
      internal/vite-config/src/typing.ts

+ 1 - 1
internal/vite-config/src/plugins/html.ts

@@ -1,5 +1,5 @@
-import type { PluginOption } from 'vite';
 import type { Options as HtmlMinifierOptions } from 'html-minifier-terser';
+import type { PluginOption } from 'vite';
 
 import { minify } from 'html-minifier-terser';
 

+ 1 - 1
internal/vite-config/src/typing.ts

@@ -1,3 +1,4 @@
+import type { Options as HtmlMinifierOptions } from 'html-minifier-terser';
 import type { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
 import type { PluginOptions } from 'unplugin-dts';
 import type {
@@ -6,7 +7,6 @@ import type {
   UserConfig,
   UserConfigFnPromise,
 } from 'vite';
-import type { Options as HtmlMinifierOptions } from 'html-minifier-terser';
 import type { Options as PwaPluginOptions } from 'vite-plugin-pwa';
 
 /**