👩🚀 The tiny all-in-one development tool for modern web apps.
2465fbb
#895 Thanks @rschristian! - Fix lack of hydration when not returning prerender data2d768a1
#875 Thanks @JoviDeCroock! - Add a tsconfig-paths plugin that will check for a tsconfig and respect the paths option when presentc0b0b1b
#934 Thanks @takurinton! - Adds resource fetch shim for prererenderinge546afc
#935 Thanks @takurinton! - Add fetching external resources using native fetch API when Node.js version 18 later31583c7
#904 Thanks @rschristian! - Ensures config file has been merged before attempting to create output directorydfa4cbd
#917 Thanks @rschristian! - Ensures TS config file is transpiled to ESM so that it can use defineConfig
2465fbb
#895 Thanks @rschristian! - Fix lack of hydration when not returning prerender data69b0496
#900 Thanks @rschristian! - Ensures leading newline in text nodes is not converted to whitespaced5d8fff
#927 Thanks @rschristian! - Checks to ensure a sourcemap has sourcesContent before attempting to consume itd9de528
#901 Thanks @rschristian! - Disables (non-actionable) browserslist warningf75af7c
#905 Thanks @rschristian! - Corrects prerendering error message to indicate to the user that the last script tag, not first, in HTML is assumed to have prerender()
21ec4f4
#913 Thanks @cristianbote! - When prerendering avoid replacing regex group token $1 when is present in html contentsb849238
#924 Thanks @rschristian! - Supports top-level await in devb38a8f2
#908 Thanks @rschristian! - Corrects duplicated information in CLI help menu22a8a18
#864 Thanks @JoviDeCroock! - Add onRouteChange
prop to the Router to observe synchronous route changes5780fc9
#864 Thanks @JoviDeCroock! - Avoid calling onLoadEnd on every render
69d291f
#870 Thanks @developit! - Fix <Router>
accidentally un-rendering incoming routes that happen to resolve to the same component as the outgoing route.
8771444
#862 Thanks @marvinhagemeister! - Don't flood terminal with harmless The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten.
warnings.
9fbafb1
#858 Thanks @marvinhagemeister! - Fix compilation error when using static
class fields
6b36713
#861 Thanks @marvinhagemeister! - Resolve a wrongly replaced process.env
variable when a binding with the name process
is already in scope. This was encountered when bundling vscode's monaco-editor.
1cfa4a1
#872 Thanks @JoviDeCroock! - Normalize the cacheKey in wmr-midddleware so it always corresponds to the WRITE_CACHE map where we store in native-path format keys
dddb03a
#849 Thanks @marvinhagemeister! - Fix iife
-warning for workers with exports when creating a production build.
1d9791f
#852 Thanks @marvinhagemeister! - Add code frame to uncaught exceptions if possible
e17e85
#854 Thanks @andrewiggins! - Fix inline asset paths on windows
d75a2da
#850 Thanks @marvinhagemeister! - Fix error when plugins
or middleware
array contains falsy values in the parsed configuration. This typically happens due to conditionally setting items. All falsy values are now filtered out by default.
69b4e1c
#856 Thanks @marvinhagemeister! - Fix debug: true
option from config file not being set
504af20
#851 Thanks @marvinhagemeister! - Improve CLI output for compilation warnings
8064c88
#846 Thanks @marvinhagemeister! - Fix missing description
and license
field in published wmr package.json
9a814a9
#832 Thanks @marvinhagemeister! - Add support for partial route matching via /foo/*
439768e
#835 Thanks @marvinhagemeister! - Add support for nested routes matching
21bbeb9
#831 Thanks @marvinhagemeister! - Fix preact-iso
intercepting cmd/ctrl+click
and other native browser behaviors.585bcb2
#842 Thanks @marvinhagemeister! - Add --minify
option to the build
command. That way one can disable minifcation for production builds by passing --no-minify
or --minify false
27a41df
#827 Thanks @marvinhagemeister! - Add built-in support for Web Workers based on browser APIs. Example on how to use Web Workers with WMR: https://wmr.dev/docs/web-workers
71d02e0
#840 Thanks @marvinhagemeister! - Fix config()
and configResolved()
plugin hooks being skipped when the previous plugin didn't have those hooks
cd17272
#844 Thanks @marvinhagemeister! - Distinguish dev server from normal server ("serve" command) in cli output
b072d94
#843 Thanks @marvinhagemeister! - Sort list of outputted files by size within a group
221c8fe
#828 Thanks @marvinhagemeister! - Fix missing props when there were comments between attributes in JSX
c963fbe
#586 Thanks @developit! - Pass route paramters as props when no prop exists with that name.
095ddde
#824 Thanks @developit! - - Bugfix for Router: "splat" parameters (/:x*
and /:y*
) should be passed in the params
prop instead of directly on props
ab9ceee
#819 Thanks @developit! - Fix complex process.env
usage (ex: let {A}=process.env
, but not process.env.A
) generating invalid code.
9c7be51
#821 Thanks @marvinhagemeister! - Fix missing this.error()
method in Rollup plugins
0c62f25
#822 Thanks @marvinhagemeister! - Fix crash when calling emitFile
for chunks without a name
416451c
#816 Thanks @marvinhagemeister! - Print file which triggered warning when the composes
keyword is attempted to be used outside of a CSS-Module file
778ee03
#823 Thanks @marvinhagemeister! - Fix incorrectly transformed dynamic import statements when there was a comment in front of the specifier (import(/* foo */ 'my-module')
)
980b3d9
#820 Thanks @marvinhagemeister! - Add support for Rollup outputOptions
hook
abafe8c
#810 Thanks @marvinhagemeister! - Fix unable to load json files from outside project public directory.
cbc98be
#815 Thanks @marvinhagemeister! - Fix nested relative .less
file resolved as npm package in production
a49e4f9
#806 Thanks @marvinhagemeister! - Add support for .less
stylesheets.f03859b
#812 Thanks @marvinhagemeister! - Add a workaround to support virtual identifiers starting with /@
to support rollup-plugin-windicss
.
81b0e5e
#611 Thanks @rschristian! - Updates the bundle visualizer to latest, allowing for some useful output exclusions
4e37369
#802 Thanks @rschristian! - If Preact-CLI's debug service worker is detected, WMR will unregister it to avoid repeated 404 errors.
be5cda0
#807 Thanks @lPadier! - Fix building JSX nodes with object with more than 5 properties
e8d22ae
#805 Thanks @marvinhagemeister! - Fix .scss
files not being renamed to .css
on production builds, when they were directly referenced in an HTML file.
e49e856
#814 Thanks @marvinhagemeister! - Add missing watch events to rollup's watchChange
hook in development