mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at rn-bug 27 lines 548 B view raw
1import {resolve} from 'node:path' 2 3import preact from '@preact/preset-vite' 4import legacy from '@vitejs/plugin-legacy' 5import type {UserConfig} from 'vite' 6import paths from 'vite-tsconfig-paths' 7 8const config: UserConfig = { 9 plugins: [ 10 preact(), 11 paths(), 12 legacy({ 13 targets: ['defaults', 'not IE 11'], 14 }), 15 ], 16 build: { 17 assetsDir: 'static', 18 rollupOptions: { 19 input: { 20 index: resolve(__dirname, 'index.html'), 21 post: resolve(__dirname, 'post.html'), 22 }, 23 }, 24 }, 25} 26 27export default config