Releases: derbyjs/derby-webpack
Releases · derbyjs/derby-webpack
v2.0.0
What's Changed
Breaking Changes
lib/plugin.js
- Instead of the plugin function taking a Derby App instanceapp
as the first param, it now takes theAppForServer
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 acreateWebpackCompiler
function, which takes a singlewebpackConfig
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
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
- Merge branch 'main' of https://github.com/derbyjs/derby-webpack c65f0a1
- Output js to derby subdirectory matchign previous build behaviour (#7) bc1af8f
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
v1.0.6
v1.0.4
What's Changed
- Prepend script path with publicPath by @craigbeck in #5
Full Changelog: v1.0.3...v1.0.4
v1.0.3
v1.0.2
v1.0.1
v1.0.0
@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