mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-27 22:53:20 +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',
|
||
|
},
|
||
|
});
|