react-loadable-ssr-addon
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -225,4 +225,6 @@ "use strict"; | ||
get: function get() { | ||
if (_path["default"].isAbsolute(this.options.filename)) { | ||
return this.options.filename; | ||
var filename = this.options.filename; | ||
if (_path["default"].isAbsolute(filename)) { | ||
return filename; | ||
} | ||
@@ -232,5 +234,3 @@ | ||
outputPath = _this$compiler2.outputPath, | ||
_this$compiler2$optio = _this$compiler2.options, | ||
filename = _this$compiler2$optio.filename, | ||
devServer = _this$compiler2$optio.devServer; | ||
devServer = _this$compiler2.options.devServer; | ||
@@ -237,0 +237,0 @@ if (this.isRequestFromDevServer && devServer) { |
{ | ||
"name": "react-loadable-ssr-addon", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Server Side Render add-on for React Loadable. Load splitted chunks was never that easy.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -344,3 +344,6 @@ # React Loadable SSR Add-on | ||
## Release History | ||
* 0.1.7 | ||
* 0.1.8 | ||
* Includes all features from deprecated v0.1.7; | ||
* FIX: [Issue #11](https://github.com/themgoncalves/react-loadable-ssr-addon/issues/11) reported by [@endiliey](https://github.com/endiliey) | ||
* ~~0.1.7 (_deprecated_)~~ | ||
* FIX: [`Cannot read property 'integrity' of undefined`](https://github.com/themgoncalves/react-loadable-ssr-addon/pull/10) reported by [@nguyenngocphuongnb](https://github.com/nguyenngocphuongnb); | ||
@@ -347,0 +350,0 @@ * Minor improvements. |
/** | ||
* react-loadable-ssr-addon | ||
* @author Marcos Gonçalves <contact@themgoncalves.com> | ||
* @version 0.1.6 | ||
*@version 0.1.8 | ||
*/ | ||
@@ -6,0 +6,0 @@ |
/** | ||
* react-loadable-ssr-addon | ||
* @author Marcos Gonçalves <contact@themgoncalves.com> | ||
* @version 0.1.6 | ||
*@version 0.1.8 | ||
*/ | ||
@@ -6,0 +6,0 @@ |
/** | ||
* react-loadable-ssr-addon | ||
* @author Marcos Gonçalves <contact@themgoncalves.com> | ||
* @version 0.1.6 | ||
*@version 0.1.8 | ||
*/ | ||
@@ -63,7 +63,8 @@ | ||
get manifestOutputPath() { | ||
if (path.isAbsolute(this.options.filename)) { | ||
return this.options.filename; | ||
const { filename } = this.options; | ||
if (path.isAbsolute(filename)) { | ||
return filename; | ||
} | ||
const { outputPath, options: { filename, devServer } } = this.compiler; | ||
const { outputPath, options: { devServer } } = this.compiler; | ||
@@ -70,0 +71,0 @@ if (this.isRequestFromDevServer && devServer) { |
/** | ||
* react-loadable-ssr-addon | ||
* @author Marcos Gonçalves <contact@themgoncalves.com> | ||
* @version 0.1.6 | ||
*@version 0.1.8 | ||
*/ | ||
@@ -6,0 +6,0 @@ |
/** | ||
* react-loadable-ssr-addon | ||
* @author Marcos Gonçalves <contact@themgoncalves.com> | ||
* @version 0.1.6 | ||
*@version 0.1.8 | ||
*/ | ||
@@ -6,0 +6,0 @@ |
/** | ||
* react-loadable-ssr-addon | ||
* @author Marcos Gonçalves <contact@themgoncalves.com> | ||
* @version 0.1.6 | ||
*@version 0.1.8 | ||
*/ | ||
@@ -6,0 +6,0 @@ |
/** | ||
* react-loadable-ssr-addon | ||
* @author Marcos Gonçalves <contact@themgoncalves.com> | ||
* @version 0.1.6 | ||
*@version 0.1.8 | ||
*/ | ||
@@ -6,0 +6,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
264133
0
407