fyp/webpage/vite.config.ts

12 lines
205 B
TypeScript
Raw Normal View History

2024-02-23 23:49:23 +00:00
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
build: {
commonjsOptions: {
esmExternals: true
}
}
2024-02-23 23:49:23 +00:00
});