We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e71148 commit 275dbd7Copy full SHA for 275dbd7
1 file changed
packages/vidstack/vite.config.ts
@@ -2,6 +2,7 @@
2
3
import { transform } from 'esbuild';
4
import { defineConfig } from 'vite';
5
+import type { Plugin } from 'vite';
6
7
const SERVER = !!process.env.SERVER;
8
@@ -38,7 +39,7 @@ export default defineConfig({
38
39
plugins: [legacyPlugin()],
40
});
41
-function legacyPlugin() {
42
+function legacyPlugin(): Plugin {
43
return {
44
name: 'legacy',
45
enforce: 'pre',
0 commit comments