Skip to content

v1.2.0

Compare
Choose a tag to compare
@trotzig trotzig released this 27 Apr 09:11
· 894 commits to main since this release

The main change in 1.2.0 is that the direct dependency on React has been removed. It is still the default, but you can now also create plain js projects, so anything that can render html in javascript should now be covered.

Other changes worth mentioning:

  • Better error messages. Instead of seeing an error in an eval, you now see the component and variant where the error happened, plus a location in a js file (this is still the tmp file which isn't ideal, but better than nothing).
  • Better default webpack config. Many projects can now ditch the customizeWebpackConfig configuration option.
  • Use type: 'plain' to not use react.
  • A simple requestAnimationFrame polyfill will silence warnings from React
  • Don't fail when publicFolders is missing (and there is a resource to inline)
  • CSS url()s are now also inlined if needed. Images in html were already inlined.
  • stylesheets can now be file paths as well as urls.