Skip to content

Commit

Permalink
Update and rename panda.config.js to panda.config.ts
Browse files Browse the repository at this point in the history
Make it match with the way the auth-fontend file looks
  • Loading branch information
Kyro3400 authored Oct 4, 2024
1 parent 16d3952 commit f822236
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 9 deletions.
9 changes: 0 additions & 9 deletions panda.config.js

This file was deleted.

30 changes: 30 additions & 0 deletions panda.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { defineConfig } from "@pandacss/dev";

export default defineConfig({
// Whether to use css reset
preflight: true,
// Whether to update the .gitignore file.
gitignore: true,
// Whether to minify the generated CSS.
minify: true,
// Shorten classnames
hash: true,
// Opt out of default styles config
presets: ["@danbot-hosting/panda-preset"],
// Eject all default presets, we only use our own
eject: true,

// Where to look for css declarations
include: [
"./pages/**/*.{js,jsx,ts,tsx,mdx}",
"./components/**/*.{js,jsx,ts,tsx}",
],

// Files to exclude
exclude: [],

// The output directory for your css system
outdir: "styles",

jsxFramework: "react",
});

0 comments on commit f822236

Please sign in to comment.