Skip to content

Releases: derbyjs/derby-webpack

v2.0.0

17 Apr 23:24
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • lib/plugin.js - Instead of the plugin function taking a Derby App instance app as the first param, it now takes the AppForServer class as the first param, to allow it to apply to apps re-created by server reload.
  • index.js - Instead of the entire module being a function, this ow exports a createWebpackCompiler function, which takes a single webpackConfig param and returns { devMiddleware, hotReloadMiddleware, webpackCompiler }.

All changes

  • Script base fixes by @craigbeck in #9
    • Have dev middleware include "Access-Control-Allow-Origin" response header
    • For MacOS file watching, disable FsEvents by default, since it was being flaky
    • Fix script bundle paths when serving
  • Add app views cache to avoid having to run _viewsSource() multiple times per app by @ericyhwang in #10
  • Fixes for server reloading by @ericyhwang in #11
    • Trigger reloads for Express Routers and other proxied calls
    • Register plugin on AppForServer prototype, to catch server-reloaded apps
    • Refactor index.js to take in a single config

Full Changelog: v1.0.10...v2.0.0

v1.0.10

09 Mar 19:35
Compare
Choose a tag to compare
  • Add trailing slash to default public path (#8) 6567765

v1.0.9...v1.0.10

What's Changed

  • Fix: Add trailing slash to default public path by @craigbeck in #8

Full Changelog: v1.0.9...v1.0.10

v1.0.9

08 Mar 23:02
Compare
Choose a tag to compare

v1.0.8...v1.0.9

What's Changed

  • Output js to derby subdirectory matching previous build behaviour by @craigbeck in #7

Full Changelog: v1.0.8...v1.0.9

v1.0.7

08 Mar 14:45
Compare
Choose a tag to compare

v1.0.6...v1.0.7

What's Changed

Full Changelog: v1.0.6...v1.0.7

v1.0.6

07 Mar 22:39
Compare
Choose a tag to compare
  • Explict root prefix for script bc16b88

v1.0.5...v1.0.6

Full Changelog: v1.0.5...v1.0.6

v1.0.4

07 Mar 21:36
Compare
Choose a tag to compare
  • Prepend scripr path with publicPath (#5) 5be45ab

v1.0.3...v1.0.4

What's Changed

Full Changelog: v1.0.3...v1.0.4

v1.0.3

07 Mar 17:08
Compare
Choose a tag to compare

v1.0.2...v1.0.3

What's Changed

Full Changelog: v1.0.2...v1.0.3

v1.0.2

06 Mar 18:21
Compare
Choose a tag to compare

v1.0.1...v1.0.2

What's Changed

Full Changelog: v1.0.1...v1.0.2

v1.0.1

04 Mar 00:20
Compare
Choose a tag to compare
  • Set public access on publish config 530c1e7

v1.0.0...v1.0.1

Full Changelog: v1.0.0...v1.0.1

v1.0.0

02 Mar 23:30
Compare
Choose a tag to compare

@derbyjs/derby-webpack v1.0.0

This provides a base webpack.config.js designed for derby apps, a plugin for adding Derby hooks for serving via webpack middleware and via static builds

e769428...v1.0.0