mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-20 11:41:42 +03:00
14 lines
340 B
TypeScript
14 lines
340 B
TypeScript
|
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',
|
||
|
},
|
||
|
});
|