Files
cloudbeaver/webapp/common-react/@dbeaver/ui-kit/vite.config.ts
T
Alexey Potsetsuevandsergeyteleshev d1c2d6547f dbeaver/pro#6968 feat: add storybook (#3767)
* dbeaver/pro#6968 feat: add storybook

* chore: remove duplicate

* fix: ladle

* chore: remove storybook onboarding

* adds task to run storybook

---------

Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
2025-09-23 21:02:07 +08:00

32 lines
727 B
TypeScript

/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2025 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
import tailwindcss from '@tailwindcss/vite';
import { defineConfig } from 'vite';
import { assetResolverPlugin } from '@wroud/vite-plugin-asset-resolver';
import { tscPlugin } from '@wroud/vite-plugin-tsc';
import svgr from 'vite-plugin-svgr';
export default defineConfig({
server: {
fs: {
strict: false,
},
},
plugins: [
svgr(),
tailwindcss(),
assetResolverPlugin(),
tscPlugin({
tscArgs: ['-b'],
enableOverlay: true,
prebuild: true,
}),
],
});