Modular 2.2.0
Support for react-error-overlay with esbuild
react-error-overlay is now shown when running modular start
in esbuild mode, if the application fails to compile or throws a runtime exception.
Support for web workers in esbuild
Web Workers are supported in esbuild mode. See the documentation for in-depth info.
Same output file structure for builds in esbuild and webpack
- CSS file generation moved
/static/css/*
instead of/static/js
modular build
now produces hashed asset names for cache busting via esbuild hashing API.
Merged Changes
-
#1072 Bump postcss-preset-env from 7.0.0 to 7.0.1
-
#1078 Bump source-map-support from 0.5.20 to 0.5.21
-
#1080 Fix
modular start
in ESBuild mode to reload local preview when code changes. -
- Enable CLI stack trace and build / runtime
react-error-overlay
on browser page in esbuild mode. - Locally serve sourcemaps with a middleware to correct https://github.com/evanw/esbuild/pull/1234.
- Enable CLI stack trace and build / runtime
-
#1083 Bump rollup-plugin-postcss from 4.0.1 to 4.0.2
-
#1085 Bump rollup from 2.60.0 to 2.60.1
-
#1094 Implement ModuleScopePlugin equivalent for esbuild applications.
-
#1096 Bump postcss from 8.3.11 to 8.4.1
-
#1098 Open IDE from React Error Overlay page links
-
#1099 Fix esbuild start hanging when ctrl-c is pressed to terminate it, due to outstanding ws connection with the browser.
-
#1103 Web Worker support and docs for esbuild.
-
#1108 Bump esbuild from 0.13.14 to 0.14.0
-
#1110 Bump postcss from 8.4.1 to 8.4.4
-
#1113 Output file structure equivalent to webpack for esbuild files
/static/(js|css)/-
. -
#1113 Improve source map asset paths to be relative to the modular root instead of application root.
-
#1113 Reduced number of plugin passes required to generate SVGs using SVGR in esbuild output.
-
#1113 Write files in memory when running an esbuild server to fix issues with file paths outside of the modular root.
-
#1124 Bump rollup from 2.60.1 to 2.60.2
-
#1126 Bump esbuild from 0.14.0 to 0.14.1
-
#1142 Upgrade to webpack-dev-server 4.
-
#1146 Bump @svgr/core from 5.5.0 to 6.1.1
-
#1147 Bump esbuild from 0.14.1 to 0.14.2
-
#1148 Bump prettier from 2.4.0 to 2.5.1
-
#1151 Replace
babel-code-frame
with newer@babel/code-frame
package. -
#1152 Remove service worker support for applications as we are focussed on client application frameworks.
-
#1154 Bump
tsconfig.json
value fortarget
fromes5
toes2106
.
Patch Versions
Patch versions of this release do not have a dedicated summary. For details of patch releases, please visit the GitHub releases page.