Skip to content

Commit

Permalink
fix(cli): normalize windows paths for fast-glob (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio authored Jul 30, 2024
1 parent 9346e60 commit eaa9890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/template/uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export default defineConfig({
...unoCSSConfig,
content: {
inline: globSync([
`${convertPathToPattern(join(require.resolve('@tutorialkit/components-react'), '..'))}/**/*.js`,
`${convertPathToPattern(join(require.resolve('@tutorialkit/astro'), '..'))}/default/**/*.astro`,
`${convertPathToPattern(join(require.resolve('@tutorialkit/components-react'), '..')).replace('\\@', '/@')}/**/*.js`,
`${convertPathToPattern(join(require.resolve('@tutorialkit/astro'), '..')).replace('\\@', '/@')}/default/**/*.astro`,
]).map((filePath) => {
return () => fs.readFile(filePath, { encoding: 'utf8' });
}),
Expand Down

0 comments on commit eaa9890

Please sign in to comment.