Tobias Koppers
f2ad440de8
More strict linting of jsdocs
...
Use TODO over any when type is possible
2018-05-08 14:53:33 +02:00
Mohsen Azimi
3ac4f216c1
More comments to help ts compiler be happy
2018-04-12 11:42:36 +02:00
Mohsen Azimi
5bb5af60ca
Some type fixes using JSDoc comments
2018-04-12 11:42:35 +02:00
Dean Shub
eff1f8ff8d
sticking to prettier's standards
2018-03-13 11:52:02 +02:00
Dean Shub
fcf634c819
reverting the HMR plugin runtime to use ES5
2018-03-13 11:27:07 +02:00
Tobias Koppers
f32bd41c52
fix linting
2018-02-25 02:15:37 +01:00
Tobias Koppers
5238159d21
run prettier on existing code
2018-02-25 02:00:20 +01:00
EugeneHlushko
2aab060f26
Refactor: indexOf >< checks to includes
2018-01-11 18:58:39 +02:00
Tobias Koppers
4a541e01a5
remove typo orginalError
2017-09-14 09:21:41 +02:00
Tobias Koppers
ccc431756c
fix typo in HMR API
2017-09-04 08:45:07 +02:00
Tobias Koppers
d8a05cf4d7
avoid calling accept handler on disposed modules
...
fixes #2387
fixes #5498
2017-08-11 11:36:17 +02:00
Kenneth Auchenberg
33297b7df9
Fix uncaught exception warning for HMR updates in Chrome #5175
2017-07-17 18:16:39 -07:00
Ivan Shornikov
b113a22599
Make HMR request timeout configurable
2017-05-22 02:59:45 +03:00
Tobias Koppers
22e7d254ee
Add webpackMode optios for import()
...
Allow lazy, lazy-once and eager mode for import()
Fix a bug which caused context chunks to be merged when using chunk name
Allow to work in env where there is no Promise.resolve
2017-05-05 09:03:24 +02:00
Tobias Koppers
e4a24bf650
Merge pull request #4069 from jharris4/master
...
Add error callback support to require.ensure
2017-04-07 18:12:43 +02:00
jharris4
0168882fd1
Change __webpack_require__.e to be assigned as a function property (e = fn() { ... }) instead of using Object.defineProperty. This allows it to be set/changed temporarily by tests, such as the test for issue-758.
2017-04-07 07:48:13 -04:00
Tobias Koppers
e7c13d75e4
Merge pull request #4553 from timse/named-chunks-plugin
...
Named chunks plugin
2017-04-04 09:45:08 +02:00
Tobias Koppers
82786cace3
refactor to track main module more reliable
2017-04-03 09:41:26 +02:00
Ricardo Matsui
fb93f626e4
Fix hot module main flag for hot module replacement
...
When a main module is loaded after a module which is already installed,
the main module should still be marked as a main module.
2017-04-02 00:46:33 -07:00
Tim Sebastian
b8e1981e09
allow chunk.id to be a number - or rather a non-null-something
2017-03-26 20:30:52 +11:00
Tobias Koppers
8e69a80847
code linting
2017-01-11 12:29:01 +01:00
Tobias Koppers
52d7c41e3f
fixes #3159
2016-11-16 14:02:33 +01:00
Tushar Sonawane
34c02a9c15
fix 'no-loop-func' warnings
2016-10-29 18:53:54 +05:30
Tobias Koppers
afd11259b2
stricter linting and bug fixes
2016-09-15 00:22:10 +02:00
Tobias Koppers
1675a5a5ca
new way to handle new ids, reuse old ids
...
adjusted HMR to handle id reusing
2016-07-18 00:41:26 +02:00
Tobias Koppers
bd35d4f65d
allow to ignore errors and fire events
2016-07-02 17:30:21 +02:00
Tobias Koppers
1cd6c4eeba
better error messages in HMR
...
events for ignored updates
warnings to console when updates are ignored
2016-06-24 11:17:25 +02:00
Tobias Koppers
7109be58b3
detect main module more reliable
...
#2648
2016-06-16 01:05:17 +02:00
Tobias Koppers
c8a88638be
bug fix where HMR can get into inconsistent state after multiple updates
2016-06-05 10:19:33 +02:00
Tobias Koppers
87db2e2bb6
linting
2016-06-04 17:35:08 +02:00
Tobias Koppers
714538cded
include parents in HMR not accepted message
...
fixes #2501
2016-06-04 17:28:59 +02:00
Zane Hitchcox
606e751bfc
Update HotModuleReplacement.runtime.js
2016-04-23 20:39:32 -05:00
Tobias Koppers
5b0cb05bdc
fixed #1650
2016-02-04 10:41:22 +01:00
Tobias Koppers
22124e5bd4
fixed a few issues
2016-02-04 09:59:28 +01:00
Tobias Koppers
684f02cbce
fixed #1650
2016-02-04 08:49:08 +01:00
Kenny Tran
eebc5ceaf6
Fix no-redeclare in code
2016-01-18 18:57:42 -08: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
5cd6e7d0b3
fixed a few linting issues
2015-07-16 00:39:56 +02:00
Tobias Koppers
f7d799adb4
rebeautify without spacing after keyword
2015-07-16 00:19:23 +02:00
Avi Haiat
0a340f2b1a
feat(app): Beautify all lib files
2015-07-13 01:20:09 +03:00
Avi Haiat
daff7440a6
feat(app): Fix some obvious lint errors and warnings
2015-07-08 15:52:41 +03:00
Tobias Koppers
ea53b8761d
maybe fixed a little HMR issue
...
webpack/webpack-dev-server#206
2015-07-02 15:00:49 +02:00
Tobias Koppers
cf30eeeb0f
Merge branch 'master' into webpack-2
...
Conflicts:
lib/ChunkTemplate.js
lib/Compilation.js
lib/HotModuleReplacement.runtime.js
test/TestCases.test.js
test/statsCases/chunks/expected.txt
test/statsCases/simple-more-info/expected.txt
test/statsCases/simple/expected.txt
2015-07-01 00:44:17 +02:00
Tobias Koppers
a04ffb9283
added (experimental) NamedModulesPlugin
2015-06-27 22:47:51 +02:00
Tobias Koppers
69b5e548d5
use multiStep HMR by default
...
fixed bug in runtime
2015-06-21 22:22:55 +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
6c1eb49539
separated runtime code from compiler code
...
for better coverage data
2015-04-28 23:38:41 +02:00