feat: init @affine/docs (#2849)

This commit is contained in:
Alex Yang
2023-06-25 21:18:23 +08:00
committed by GitHub
parent d8bb51a222
commit d525bd9113
18 changed files with 729 additions and 12 deletions

13
apps/docs/vite.config.ts Normal file
View File

@@ -0,0 +1,13 @@
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',
},
});