Skip to content

Commit

Permalink
fix versioned-components tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
berekuk committed Dec 20, 2024
1 parent 5a53de3 commit bfeedb0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal-packages/versioned-components/src/tailwind.cts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import tailwindSquiggle from "@quri/squiggle-components/tailwind-plugin";

// Generated paths will be absolute and fully symlink-resolved.
function getVersionedSquiggleContent() {
// relative to this file; this file will be located in `./dist/src/tailwind.js`
// relative to this file; this file will be located in `./dist/tailwind.js`
const srcGlobs = [
"../../../../node_modules/.pnpm/@quri+ui@*/node_modules/@quri/ui/src",
"../../node_modules/squiggle-components-*/src",
"../../../ui/src",
"../../../components/src",
"../../../node_modules/.pnpm/@quri+ui@*/node_modules/@quri/ui/src",
"../node_modules/squiggle-components-*/src",
"../../../packages/ui/src",
"../../../packages/components/src",
];

const resolvedGlobs = srcGlobs.map((dir) => path.resolve(__dirname, dir));
Expand Down

0 comments on commit bfeedb0

Please sign in to comment.