Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/okikio/postcss-spring-easing. PostCSS plugin to add that bounce and boogie that only springs can br
Something went wrong. Try again.
postcss-spring-easing vite.config.ts
12345678910111213141516171819202122232425262728293031323334353637383940/// <reference types="vitest" />// Configure Vitest (https://vitest.dev/config)import { defineConfig } from "vite";import { umd as name } from "./package.json";import dts from 'vite-plugin-dts';
export default defineConfig({ plugins: [ dts() ], build: { outDir: "lib", minify: false, sourcemap: true, rollupOptions: { external: ["postcss", "postcss-value-parser", "spring-easing"], output: { exports: "named" }, }, lib: { entry: "src/index.ts", name, formats: ["es", "cjs", "umd"], fileName(format) { switch (format) { case "es": return "index.mjs"; case "cjs": return "index.cjs"; default: return "index.js"; } } }, }, test: { /* for example, use global to avoid globals imports (describe, test, expect): */ // globals: true, }});