Commit Graph

14 Commits

Author SHA1 Message Date
Tobias Koppers d6cf42e4c2 merge used with usedExports
usedExports = false now means module is not used
2018-08-06 21:05:11 +02:00
Tobias Koppers c4e0a9f72e Move Module.used and Module.usedExports into ModuleGraph 2018-08-06 21:04:01 +02:00
Tobias Koppers 381e2db200 replace Module.reasons and Dependency.module with ModuleGraph 2018-08-02 17:54:44 +02:00
Tobias Koppers 11e127d162 pass moduleGraph along with multiple methods 2018-08-02 17:54:42 +02:00
Tobias Koppers 4ce109f8c1 change arguments of Generator.generate and Module.source into a object to be easier extensible
add JavascriptModulesPlugin.getHooks().shouldRender to decide if a module should be rendered
2018-08-02 16:07:29 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Tobias Koppers 66d3f319a6 Merge tag 'v4.16.2' into next
4.16.2
2018-07-23 12:19:16 +02:00
Tobias Koppers 8614c75f11 run inherit types tool on existing code 2018-07-21 13:50:18 +02:00
Tobias Koppers 1e4d2b7fe7 handle reexported wasm globals in JS wrapper code 2018-06-02 17:20:58 +02:00
Tobias Koppers f903cd3ef9 mangle exports of wasm modules
mangle webpack init function
store WebAssembly.Instance.exports directly
connect wasm modules directly when already cached
2018-05-11 20:57:18 +02:00
Sven SAULEAU 1bc7657eab
fix: handle empty modules in dependecies 2018-05-04 18:52:07 +02:00
Tobias Koppers 4702ee9016 Use compile/compileStreaming when importObject is a Promise 2018-04-30 08:35:06 +02:00
Tobias Koppers b72e363f03 formatting for output code, nitpicks 2018-04-28 09:57:21 +02:00
Tobias Koppers 82a71be1dc Cleanup, refactoring, types 2018-04-27 18:53:07 +02:00