razzle

✨ Create server-rendered universal JavaScript applications with no configuration

MIT License

Downloads
241.5K
Stars
11.1K
Committers
183

Bot releases are hidden (Show)

razzle -

Published by nimaa77 over 4 years ago

Minor Changes

  • Fix production sourcemaps: #717
  • Update createJestConfig.js: #719
  • Mdx plugin improvements: #732
  • Cleanup: remove .js extensions from require: e24934bcef5a1956199751215e8562eac73f4b63
  • Update css chunks: use [name] instead of [id]: #750
  • Add CLIENT_PUBLIC_PATH env var for local dev environments that don't use localhost (e.g. VMs, Docker): #761
  • Feature/scss plugin: #786
  • Use npx: #783
  • Update createJestConfig.js: #836
  • Fix(scss-plugin): use onlyLocals option: #1254
  • Eat webpack-dev-server logs: #1255
  • Update jest.config.json: #1259

Patches

  • Use the correct port when PORT is not set: #723
  • Fix for '[HMR] You need to restart the application!' on server sided err: c8b55bebd5c4dadb6953dd3e8d94fac084c854d4
  • Fix HMR : client was not working + mismatch between server/client: #749
  • Update examples to recover from HMR error: #763
  • Set template package version back to 0.1.0: #760
  • CLIENT_PUBLIC_PATH default was being set in two places that computed different values. Remove the erroneous one.: #779

Credits

Huge thanks to @jpetitcolas, @jamalc, @jeetiss, @hrasoa, @gregmartyn, @crosscompile, @olehreznichenko, @xiaoyuhen, @fivethreeo, and @bkonkle for helping!

razzle -

Published by jaredpalmer over 5 years ago

What's New?

  • Add treeshaking in production #780 @TheLarkInn

Breaking Changes

  • Upgraded Babel to v7, Webpack Dev Server 3, Jest to v23.6 #775
  • Remove all default polyfills, you should include CRA's react-app-polyfill instead #788
  • ESlint has been removed from razzle core and is now a plugin
razzle -

Published by jaredpalmer almost 6 years ago

  • Added missing babel/runtime dep
  • Removed polyfill and enabled treeshaking in prod
razzle -

Published by jaredpalmer almost 6 years ago

Patch Release

  • Razzle now re-uses the same Webpack watcher for the server between client compilations (instead of creating a new one). This should result in a decent perf boost and reduce CPU usage. #875
  • Bumped file-loader to v3 (no breaking change)
razzle -

Published by jaredpalmer almost 6 years ago

razzle -

Published by jaredpalmer about 6 years ago

Minor Release

tl;dr

  • Added pretty node errors!
  • Preserve the full --inspect= flag as passed to yarn start
  • Added testEnvironmentOptions to supportedKeys for Jest
  • Added mdx-plugin
  • Added support for function plugins
  • Introduce config.modifyBabelOptions so Razzle can be used in really interesting places

Commits

  • 63159f3 - Make readme's match (@jaredpalmer)
  • e478621 - remove package-lock.json (@jaredpalmer)
  • 39ea3a6 - Fix .mjs issue with GraphQL 0.13.2 (#715) (@ericclemmons)
  • bbab21a - Mdx improve (#712) (@jeetiss)
  • e07830c - Add mdx loader (#711) (@jeetiss)
  • e199219 - Add support for function as plugin (#704) (@ambar)
  • 5b1ff8c - Introduce config.modifyBabelOptions (#702) (@ericvicenti)
  • 5475aef - Update README.md (@jaredpalmer)
  • e77c8e7 - Erik Engi added to the contributors section (#700) (@kireerik)
  • 63a8b5c - Add documentation for CSS Modules (#694) (@alexparish)
  • c490929 - Ignore column from source map and only use pretty errors if file is read (#696) (@crosscompile)
  • b4f9898 - Add pretty node errors (#691) (@crosscompile)
  • 72934d9 - fix koa hmr (#693) (@ambar)
  • 8a35624 - Adding testEnvironmentOptions to supportedKeys for Jest (#678) (@bdo)
  • 9a58a71 - Add polka example (#520) (@flagello)
  • 05d795e - added example razzle + react router 3 (#539) (@davidnguyen179)
  • db7b28b - preserve the full --inspect= flag as passed to yarn start (#660) (@gregmartyn)
  • d2deecc - Fix Elm example (#661) (@faheempatel)
  • 6aee5de - Bump babel-loader to remove incompatibility warning with Webpack 4. (#659) (@daveli)
razzle -

Published by jaredpalmer over 6 years ago

Minor Release

  • Bump to Jest 23
  • Started on plugin documentation
  • Squatting/stubbed future plugins on npm
razzle -

Published by jaredpalmer over 6 years ago

Security Patch 👮 🔐

  • Upgraded to Jest 22 (patching some security vulnerabilities). Thank you @benjaminhobbs !

Other Improvements 🚀

  • Upgraded to babel-eslint v8
  • Fixed instructions in react-native-web example README.md
  • Removed some redundant deps
razzle -

Published by jaredpalmer over 6 years ago

Bug fix

  • Fix Typescript Plugin to account for removal of thread-loader
razzle -

Published by jaredpalmer over 6 years ago

Speed Improvements for TypeScript users ⚡️ 🔥 🔋

The new TypeScript plugin now includes the perf optimizations utilized by the Microsoft Outlook team.

 // only run if (target === 'web)
 if (dev) { 
      // As suggested by Microsoft's Outlook team, these optimizations
      // crank up Webpack x TypeScript perf.
      // @see https://medium.com/@kenneth_chau/speeding-up-webpack-typescript-incremental-builds-by-7x-3912ba4c1d15
      config.output.pathinfo = false;
      config.optimization = {
        removeAvailableModules: false,
        removeEmptyChunks: false,
        splitChunks: false,
      };
    }

See: https://medium.com/@kenneth_chau/speeding-up-webpack-typescript-incremental-builds-by-7x-3912ba4c1d15

razzle -

Published by jaredpalmer over 6 years ago

Patch Release

  • Removed thread-loader from babel-loader due to report perf degradations.
razzle -

Published by jaredpalmer over 6 years ago

Patch Release

  • Fix #632 . Made webpack object available in the last argument of modify() in razzle.config.js during razzle build task.
razzle -

Published by jaredpalmer over 6 years ago

New Stuff

  • Webpack 4
  • New logger
  • No more race condition on startup
  • Improved and faster HMR. We saw 800% reduction in reload speed with TypeScript on an app with 2000+ files
  • PLUGINS!
  • Runtime environment variables

Blog post soon.

Breaking Changes

razzle -

Published by jaredpalmer over 6 years ago

1.0.1

This release is simply for posterity, please use v2.

razzle -

Published by jaredpalmer over 6 years ago

Upgrades!

  • New Koa and Hyperapp examples
  • New logger!
  • Fixed assets.json not found bug.
razzle -

Published by jaredpalmer over 6 years ago

Lock in Webpack 3.x

  • This will eventually be 1.0
  • From here on, the primary work will be done on 2.0 (Webpack 4).
razzle -

Published by jaredpalmer over 6 years ago

Patch

  • Properly include JS polyfill in production
razzle -

Published by jaredpalmer over 6 years ago

Patch Release

  • Bumped deps. Now using Webpack 4.2.x and latest mini-css plugins
  • Fixed HMR w/Webpack 4 by passing multiStep flag on the client
razzle -

Published by jaredpalmer over 6 years ago

The good news

  • Webpack 4.2.0 motherforkas.

The bad news (breaking changes)

  • BREAKING: Babel loader setup now uses thread-loader and babel-loader together

More good news

  • A Gatsby-like plugin system is coming for v2. This will likely allow you to forego the pain of rewriting some of your webpack modifications.
razzle -

Published by jaredpalmer almost 7 years ago

Patch Release

  • Fix an uglifyjs bug
  • Fixed typo in default meta tag