mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
* 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>
32 lines
727 B
TypeScript
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,
|
|
}),
|
|
],
|
|
});
|