@prefresh/vite@4.0.0
Major Changes
-
#614
f1a23d0Thanks @LoganDark! - Make Babel an optional peer dependency@babel/coreand@prefresh/babel-pluginare no longer hard dependencies of@prefresh/vite. Projects using modern versions of Vite no longer require Babel in their dependency tree.
Patch Changes
-
#626
4bbe51fThanks @JoviDeCroock! - Fix type resolution undermoduleResolution: NodeNextand DenoThe
importcondition now resolves to a real ESM entry (src/index.mjs) with matching ESM type declarations (index.d.mtsusingexport default), whilerequirekeeps the CommonJS declarations (index.d.tsusingexport =). Previously the ESM entry was typed with a CJS-styleexport =declaration, which TypeScript 6 / Deno 2.8.3+ reject as a hard error.Also inline the
FilterPatterntype instead of importing it from@rollup/pluginutils, whose types do not resolve under NodeNext. -
Updated dependencies [
b390f28]:- @prefresh/core@1.5.11