mirror of
https://github.com/LukeHagar/polar.git
synced 2025-12-06 12:47:46 +00:00
* wip * add static example app * wip * wip * use relative path for jsx import * wip * working with single upgrade * add premium plus upgrade cta * make the ctas pricing page style * update price tiles * wip * add current plan state * wip * working checkouts * add free tier tile * fix cta button arrows * fix customer model * add dummy manage subscription button * improve subscription manage button * fix current plan tile state * revoke existing subscriptions when a new subscription is created * support upgrade, downgrade, cancel * add downgrade buttons * wip * implement upgrade/cancel functionality * add downgrade confirmation * add upgrade confirmation * add billing settings panel * wip * wip * split out pricing panel section * fix manage button * wip * working * wip * differentiate premium plus * fix price for current subscription * add prices * add interval toggle * wip * set default interval for change plan screen * simplify * add yearly pricing * fix upgrade/downgrade * prompt on delete * wip - docs * wip * wip - docs * wip * wip * wip * wip * wip * update version
17 lines
388 B
TypeScript
17 lines
388 B
TypeScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
import path from "path";
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
resolve: {
|
|
conditions: ["@convex-dev/component-source"],
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
optimizeDeps: {
|
|
exclude: ["@convex-dev/polar/react"],
|
|
},
|
|
});
|