node-hot-loader
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "node-hot-loader", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Hot module replacement for Node.js applications", | ||
@@ -5,0 +5,0 @@ "main": "./lib/node-hot.js", |
@@ -5,3 +5,3 @@ # Node Hot Loader [![npm package](https://img.shields.io/npm/v/node-hot-loader.svg?style=flat-square)](https://www.npmjs.org/package/node-hot-loader) | ||
It based on sources of [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) and [webpack/hot/only-dev-server](https://github.com/webpack/webpack). | ||
It based on sources of [webpack-hot-middleware](https://github.com/glenjamin/webpack-hot-middleware) and [webpack/hot/only-dev-server](https://github.com/webpack/webpack). | ||
Under the hood it uses webpack and babel, so you can use all you need configurations in config files for babel and webpack. | ||
@@ -65,2 +65,9 @@ | ||
output: { | ||
// Webpack can't find hot-update if output file is not directly in output.path. | ||
// For example, filename: 'js/[name].js' will not work. | ||
// However, I have no many tests for that. | ||
filename: '[name].js', | ||
}, | ||
// Exclude node_modules from bundle manual | ||
@@ -67,0 +74,0 @@ // or use for instance webpack-node-externals package (https://github.com/liady/webpack-node-externals) |
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
29078
145