Skip to content

@prefresh/vite@4.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Aug 13:10
5131fff

Major Changes

  • #614 f1a23d0 Thanks @LoganDark! - Make Babel an optional peer dependency

    @babel/core and @prefresh/babel-plugin are no longer hard dependencies of @prefresh/vite. Projects using modern versions of Vite no longer require Babel in their dependency tree.

Patch Changes

  • #626 4bbe51f Thanks @JoviDeCroock! - Fix type resolution under moduleResolution: NodeNext and Deno

    The import condition now resolves to a real ESM entry (src/index.mjs) with matching ESM type declarations (index.d.mts using export default), while require keeps the CommonJS declarations (index.d.ts using export =). Previously the ESM entry was typed with a CJS-style export = declaration, which TypeScript 6 / Deno 2.8.3+ reject as a hard error.

    Also inline the FilterPattern type instead of importing it from @rollup/pluginutils, whose types do not resolve under NodeNext.

  • Updated dependencies [b390f28]:

    • @prefresh/core@1.5.11