## Description
> [!TIP]
> _Add a TL;DR when the description is longer than 500 words or
extremely technical (helps the content, marketing, and DevRel team)._
>
> _Please also include relevant motivation and context. List any
dependencies that are required for this change. Add links to Notion,
Figma or any other documents that might be relevant to the PR._
Fixes #`Issue Number`
_or_
Fixes `Issue URL`
> [!WARNING]
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._
## Automation
/ok-to-test tags=""
### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results -->
> [!CAUTION]
> If you modify the content in this section, you are likely to disrupt
the CI result for your PR.
<!-- end of auto-generated comment: Cypress test results -->
## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a new slider component to the design system, expanding the
range of interactive UI elements available.
- **Chores**
- Enhanced the Storybook configuration to streamline dependency
management, contributing to a smoother development workflow.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
36 lines
817 B
JavaScript
36 lines
817 B
JavaScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import svgr from "vite-plugin-svgr";
|
|
import postcssNesting from "postcss-nesting";
|
|
import postcssImport from "postcss-import";
|
|
import postcssAtRulesVariables from "postcss-at-rules-variables";
|
|
import postcssEach from "postcss-each";
|
|
import postcssModulesValues from "postcss-modules-values";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
react(),
|
|
svgr({
|
|
svgrOptions: {
|
|
exportType: "named",
|
|
ref: true,
|
|
},
|
|
include: "**/*.svg",
|
|
}),
|
|
],
|
|
css: {
|
|
postcss: {
|
|
plugins: [
|
|
postcssNesting,
|
|
postcssImport,
|
|
postcssAtRulesVariables,
|
|
postcssEach,
|
|
postcssModulesValues,
|
|
],
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
exclude: ["@storybook/components"],
|
|
},
|
|
});
|