Commit Graph

94 Commits

Author SHA1 Message Date
Tobias Koppers a6e1c0693c add TODOs 2018-08-16 14:10:39 +02:00
Tobias Koppers 6d5310fbd6 allow multiple entryModules per chunk
allow to specify ChunkGroup to depend on
move entry modules into ChunkGraph
2018-08-15 11:51:16 +02:00
Tobias Koppers 3cf01999b5 add ChunkGraph
move chunk modules and module chunks into the ChunkGraph
remove outdated unit tests
2018-08-14 15:32:13 +02:00
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 c9eb4c8e01 Merge tag 'v4.16.4' into next
4.16.4
2018-08-02 16:00:39 +02:00
Florent Cailhol 64e301c33b Update Prettier 2018-07-31 11:44:32 +02:00
Tobias Koppers 2e82dbb63c
Merge pull request #7813 from webpack/refactor/freeze_hooks
Freeze hooks to prevent deopts
2018-07-30 22:47:13 +02:00
Tobias Koppers cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Florent Cailhol fc4f30329d Freeze hooks to prevent deopts 2018-07-30 14:25:40 +02:00
Tobias Koppers 0052861178 remove unconsistency with Module._source and originalSource 2018-07-25 12:20:35 +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 2b14ddc984 Merge tag 'v4.16.0' into next
4.16.0
2018-07-11 11:13:47 +02:00
Tobias Koppers 559cf94edb Simplify imports 2018-07-09 15:09:00 +02:00
Tobias Koppers 0a06f19fd8 Merge tag 'v4.15.0' into next
4.15.0
2018-07-04 22:19:50 +02:00
Tobias Koppers bd2e3448ec Merge tag 'v4.14.0' into next
4.14.0
2018-07-04 22:10:53 +02:00
Tobias Koppers 1ad71e01f9 add helpful error when importing wasm in initial chunk 2018-07-02 16:18:49 +02:00
Tobias Koppers b06cca2371
Merge pull request #7626 from webpack/format/arrow-functions
arrow functions, remove or improve eslint-disable comments
2018-06-29 20:41:54 +02:00
Tobias Koppers ad8f496745 arrow functions, remove or improve eslint-disable comments 2018-06-27 13:48:13 +02:00
Florent Cailhol c68d0d2171 Remove Tapable compatibility 2018-06-26 08:31:08 +02:00
Tobias Koppers 50fe2e79ee add Compilation.getDependencyReference and hooks to override it
expose DependencyReference class
2018-06-23 15:13:14 +02:00
Sven SAULEAU 0288128cb9
feat: get start func from context 2018-06-06 11:06:40 +02:00
Sven SAULEAU 6e85ac5468
feat: use function matcher 2018-06-06 10:39:06 +02:00
Tobias Koppers 8e3be48da4 allow to disable wasm import mangle
disable it by default (temporary)
2018-06-05 23:49:02 +02:00
Tobias Koppers 5ecf74917f finish plugin and tests 2018-06-04 16:23:41 +02:00
Tobias Koppers 822c252a09 Merge branch 'master' into fix-wasm-check-for-invalid-signatures
# Conflicts:
#	declarations.d.ts
#	lib/wasm/WebAssemblyParser.js
#	package.json
#	yarn.lock
2018-06-04 13:33:26 +02:00
Tobias Koppers 949890acdf
Merge pull request #7472 from webpack/bugfix/error-origin-loc
Cleanup error location and origin information
2018-06-04 11:16:48 +02:00
Tobias Koppers 53103a9690 Cleanup error location and origin information 2018-06-04 10:35:46 +02:00
Tobias Koppers e9195c40dc
Merge pull request #7466 from xtuc/fix-wasm-keep-imports
wasm: keep imports
2018-06-04 09:02:50 +02:00
Tobias Koppers 9a6d9c7a06 rename to externalExports 2018-06-02 18:00:22 +02:00
Tobias Koppers 1e4b1c7212 create correct init for float types 2018-06-02 17:57:58 +02:00
Tobias Koppers 1e4d2b7fe7 handle reexported wasm globals in JS wrapper code 2018-06-02 17:20:58 +02:00
Sven SAULEAU 8a6c722ca6
fix(wasm): keep imports 2018-06-02 15:51:26 +02:00
Sven SAULEAU 928d051aae
Merge remote-tracking branch 'upstream/master' into fix-wasm-check-for-invalid-signatures 2018-05-30 15:31:31 +02:00
Sven SAULEAU b34ed237cf
fix: address some comments 2018-05-30 15:27:42 +02:00
Sven SAULEAU fbd9d0d3a8
feat(wasm): add finalizer for checking exports 2018-05-30 12:45:05 +02:00
Tobias Koppers 53d26bfc96 merge rewriteGlobalsReferingImportedGlobals into rewriteImportedGlobals 2018-05-30 10:49:12 +02:00
Tobias Koppers 04d9c8ab59 Merge branch 'master' into feat-wasm-global-in-global-initilizer2 2018-05-29 21:07:22 +02:00
Tobias Koppers 8e6a012dbb
Merge pull request #7432 from webpack/add_brackets
Add brackets for multiline if/for statements
2018-05-29 20:17:00 +02:00
Florent Cailhol 2a9452e51b Add brackets for multiline if/for statements 2018-05-29 15:45:44 +02:00
Sven SAULEAU 23795ba666
fix(wasm): preserve global ordering 2018-05-29 14:52:29 +02:00
Sven SAULEAU d6e9624c4a
Merge branch 'master' into feat-wasm-global-in-global-initilizer2 2018-05-29 14:24:26 +02:00
Tobias Koppers 909a2ac8d0 fix small bug in wasm runtime 2018-05-28 23:35:29 +02:00
Sven SAULEAU 38604c3cb0
feat: WIP add global into runtime 2018-05-28 16:56:06 +02:00
Sven SAULEAU fd4e84b36f
fix(wasm): correct initializer type for rewritten globals 2018-05-28 14:55:40 +02:00
Sven SAULEAU 6d8bc91a9b
feat: add missing preprocessing 2018-05-21 14:07:39 +02:00