Commit Graph

20 Commits

Author SHA1 Message Date
alexander.akait fa20888500 refactor: fix types in hot 2023-05-16 19:01:30 +03:00
Tobias Speicher 8f56fcba72
Replace deprecated String.prototype.substr()
String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-03-13 22:54:18 +01:00
Tobias Koppers f6726a15d1 Revert "Merge pull request #13877 from axules/bugfix/hot-poll-infinity"
This reverts commit 1c1af83e12, reversing
changes made to 3f353b6ae2.
2021-08-05 16:03:13 +02:00
Denis Shelest b573514987
fix hot/signal infinity recursion 2021-08-01 14:11:48 +03:00
Mohsen Azimi 7b07a8db66 Upgrade to Prettier 2 2020-03-28 18:20:24 -04:00
Tobias Koppers a1d45671c1 fix error message and stack in Firefox
in Firefox stack doesn't include the message
2019-06-12 15:28:45 +02:00
ferhat elmas 3e03edc2cf fix(hot): log messages
group arguments of operator or (||)
otherwise, nonempty string is always true
2018-07-09 22:20:50 +02:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Bruno Abreu 92e36150a7 Fix bluebird warning in hot/signal 2017-12-29 12:13:45 -02:00
Bogdan Luca 922ee1af25 Moved HMR logging to a module, added possibility to set log level. 2017-05-31 12:00:41 +03:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Tushar Sonawane 6b39a5325c fix 'no-inner-declarations' warnings 2016-10-29 19:30:01 +05:30
Tobias Koppers de4bd221af follow up changes for #2848 2016-08-17 12:54:54 +02:00
Tobias Koppers cf00a1a22d rewrite cases where js beautify and eslint disagree on formatting 2016-06-20 21:46:27 +02:00
Simen Bekkhus b1bdd6989f Use eslint's indent rule 2016-06-20 08:21:00 +02:00
Tobias Koppers 431a4c791c Merge branch 'master' into webpack-2
Conflicts:
	hot/dev-server.js
	hot/only-dev-server.js
	hot/poll.js
	hot/signal.js
	lib/ChunkTemplate.js
	lib/HotModuleReplacement.runtime.js
	lib/HotModuleReplacementPlugin.js
	lib/JsonpMainTemplatePlugin.js
	lib/MainTemplate.js
	lib/NormalModule.js
	lib/Parser.js
	lib/RecordIdsPlugin.js
	lib/WebpackOptionsApply.js
	lib/dependencies/RequireEnsureDependency.js
	lib/node/OldNodeWatchFileSystem.js
	lib/optimize/OccurrenceOrderPlugin.js
	package.json
2015-07-17 09:30:37 +02:00
Tobias Koppers eba4727733 beautify stuff 2015-07-16 00:27:37 +02:00
Tobias Koppers 2245c4acca Promise based chunk loading API
don't flag entry module with `0` id anymore
use extra argument in chunk instead
this allows to require entry points
2015-06-13 11:45:28 +02:00
Tobias Koppers 5b1d9ef3bb linting 2015-05-21 22:58:22 +02:00
Tobias Koppers 289db96b36 Make webpack ready for node.js HMR. 2015-03-11 23:48:00 +01:00