Merge pull request #26712 from rynclark/webpack-hot-client-valid-targets

[webpack-hot-client] update version to v4, add tests for validTarget
This commit is contained in:
Nathan Shively-Sanders
2018-06-21 15:12:09 -07:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
// Type definitions for webpack-hot-client 3.0
// Type definitions for webpack-hot-client 4.0
// Project: https://github.com/webpack-contrib/webpack-hot-client
// Definitions by: Ryan Clark <https://github.com/rynclark>
// ZSkycat <https://github.com/ZSkycat>

View File

@@ -4,3 +4,5 @@ import hot = require('webpack-hot-client');
const compiler = webpack();
hot(compiler, { logLevel: 'info', reload: false });
hot(compiler, { logLevel: 'info', reload: false, validTargets: ['web', 'node'] });