Skip to content

Tree shaking improvements with Webpack + sideEffects and build speed improvements

Compare
Choose a tag to compare
@mlaursen mlaursen released this 30 Jun 03:17

This release added sideEffects: ["dist/**/*"] to each package's package.json which helps webpack with tree shaking, dead code elimination, and quicker builds. For more information, check out #877 since it goes into great detail into build speed and size differences.

Otherwise, this release changed a few other things:

  • Main README Layout example (bcc8405)
  • LICENSE: Removed the time range from license since it was incorrect (50c9021)
  • Added unpkg url for base react-md package (d0efc59)
  • sideEffects formatting (78a7b6b)
  • The CHANGELOG.md is now a combined changelog for each package and automatically updated for each new publish.