Skip to content

Commit

Permalink
chore: improved cosmos setup (moved out of lib dir and added base.css)
Browse files Browse the repository at this point in the history
  • Loading branch information
receter committed Sep 9, 2024
1 parent 79a78d4 commit 6ab0d52
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ui/cosmos.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"globalImports": ["./src/index.css", "./lib/default-custom-properties.css"],
"globalImports": ["./lib/base.css", "./lib/default-custom-properties.css"],
"plugins": ["react-cosmos-plugin-vite"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
FormField,
Stack,
TextInput,
} from "../main";
} from "../lib/main";

export default function Fixture() {
const [label] = useValue("Label", { defaultValue: "Save" });
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src", "lib"],
"include": ["src", "lib", "fixtures"],
"references": [
{
"path": "./tsconfig.node.json"
Expand Down

0 comments on commit 6ab0d52

Please sign in to comment.