AFFiNE/apps/docs/vite.config.ts

14 lines
340 B
TypeScript
Raw Normal View History

2023-06-25 16:18:23 +03:00
import path from 'node:path';
import url from 'node:url';
import { vanillaExtractPlugin } from '@vanilla-extract/vite-plugin';
import { defineConfig } from 'waku/config';
export default defineConfig({
root: path.dirname(url.fileURLToPath(import.meta.url)),
plugins: [vanillaExtractPlugin()],
build: {
target: 'esnext',
},
});