@loadable/webpack-plugin
Advanced tools
Comparing version 3.0.0 to 4.0.0
@@ -6,2 +6,21 @@ # Change Log | ||
# [4.0.0](https://github.com/smooth-code/loadable-components/compare/v3.0.2...v4.0.0) (2018-10-30) | ||
### Features | ||
* add new loadable.lib, change API ([94b2e87](https://github.com/smooth-code/loadable-components/commit/94b2e87)) | ||
### BREAKING CHANGES | ||
* - `ErrorComponent` is ignored, please use Error Boundaries to handle errors. | ||
- `lazy` is no longer exported | ||
- `LoadingComponent` is replaced by `fallback` option | ||
- `ref` are now forwarded | ||
# [3.0.0](https://github.com/smooth-code/loadable-components/compare/v2.2.3...v3.0.0) (2018-10-29) | ||
@@ -8,0 +27,0 @@ |
@@ -25,3 +25,3 @@ "use strict"; | ||
compiler.hooks.emit.tap('@loadable/webpack', function (hookCompiler) { | ||
compiler.hooks.emit.tap('@loadable/webpack-plugin', function (hookCompiler) { | ||
var _hookCompiler$getStat = hookCompiler.getStats().toJson({ | ||
@@ -28,0 +28,0 @@ hash: true, |
{ | ||
"name": "@loadable/webpack-plugin", | ||
"description": "Webpack plugin for loadable (required for SSR).", | ||
"version": "3.0.0", | ||
"version": "4.0.0", | ||
"main": "lib/index.js", | ||
@@ -23,3 +23,3 @@ "repository": "git@github.com:smooth-code/loadable-components.git", | ||
}, | ||
"gitHead": "5870f0c39acbb51da12514638f44299a2a4f3960" | ||
"gitHead": "ef88fe51108d003838df0a20e16401e50dd1fb71" | ||
} |
@@ -19,3 +19,3 @@ # @loadable/webpack-plugin | ||
module.exports = { | ||
plugins: [new HtmlWebpackPlugin()], | ||
plugins: [new LoadablePlugin()], | ||
} | ||
@@ -22,0 +22,0 @@ ``` |
4978