mirror of
https://github.com/status-im/wakuconnect-chat-sdk.git
synced 2025-01-09 11:45:42 +00:00
6558e437f5
* remove old icons * add script for syncing icons * regenerate icons * update @status-im/icons exports * allow scroll in storybook * migrate to new icons import * add iconography story * update root package.json * fix typo * add @status-im/colors * generate colors * add colors story * fix ci
18 lines
327 B
TypeScript
18 lines
327 B
TypeScript
/// <reference types="vitest" />
|
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
export default defineConfig(({ mode }) => {
|
|
return {
|
|
build: {
|
|
target: 'es2020',
|
|
lib: {
|
|
entry: 'src/index.ts',
|
|
formats: ['es', 'cjs'],
|
|
},
|
|
sourcemap: true,
|
|
emptyOutDir: mode === 'production',
|
|
},
|
|
}
|
|
})
|