Skip to content

0.1.1

Compare
Choose a tag to compare
@AriPerkkio AriPerkkio released this 30 Jul 05:53
· 147 commits to main since this release
ad74b29

What's Changed

  • fix(cli): normalize windows paths for fast-glob by @AriPerkkio in #184
    • Existing projects can apply the fix in their uno.config.ts:
      export default defineConfig({
        ...unoCSSConfig,
        content: {
          inline: globSync([
      -      `${convertPathToPattern(join(require.resolve('@tutorialkit/components-react'), '..'))}/**/*.js`,
      +      `${convertPathToPattern(join(require.resolve('@tutorialkit/components-react'), '..')).replace('\\@', '/@')}/**/*.js`,
      -      `${convertPathToPattern(join(require.resolve('@tutorialkit/astro'), '..'))}/default/**/*.astro`,
      +      `${convertPathToPattern(join(require.resolve('@tutorialkit/astro'), '..')).replace('\\@', '/@')}/default/**/*.astro`,
          ]).map((filePath) => {
            return () => fs.readFile(filePath, { encoding: 'utf8' });
          }),
        },

New Contributors

Full Changelog: 0.1.0...0.1.1