Commit Graph

35 Commits

Author SHA1 Message Date
Tobias Koppers 9bb5651e6a add `asyncChunks: boolean` option to disable creation of async chunks 2021-11-10 15:04:44 +01:00
Tobias Koppers 38de0dbf4e allow to specify `publicPath` for each entrypoint 2021-04-14 16:38:01 +02:00
Tobias Koppers 10aa3daede add experiments.layers
add layers to define different module layers
support module layers in stats

add layer support for NormalModules

fixes #11466
2021-01-05 20:50:59 +01:00
Tobias Koppers d870365d94 fix incorrect type 2020-10-12 09:45:19 +02:00
Tobias Koppers 87c85e3fa3 cleanup, expose plugin class 2020-10-12 09:37:07 +02:00
wood1986 907795fed0 fix: expose EntryPlugin creation 2020-10-11 14:43:13 -07:00
Tobias Koppers aa67a435a4 refactor wasm loading from target into output.wasmLoading option
allow entry specific wasm loading
2020-09-09 11:20:37 +02:00
Tobias Koppers ed06a7f83a new Worker() support
add support for async anonymous entrypoints from inside the codebase
add worker example
move entry options into Entrypoint and receive them from there
2020-09-08 07:37:20 +02:00
Tobias Koppers 07d863e14c implement enabledChunkLoadingTypes approach
allow chunkLoading per entry
allow custom library/chunkLoading types
2020-08-28 10:59:37 +02:00
Tobias Koppers a4f17775b1 fix dependOn behavior with runtimes, fix runtime passing by entry 2020-07-30 11:18:09 +02:00
Tobias Koppers 88e6c5e2a7 add library option to entry description 2020-02-26 17:36:16 +01:00
Tobias Koppers 39e407e927 normalize entry option and reduce normalization in EntryOptionPlugin 2020-02-26 17:36:06 +01:00
Tobias Koppers 501f161d68 avoid mutating options object 2020-02-11 09:12:44 +01:00
Sergey Melyukov c31d941899 dependOn feature
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2020-02-11 09:11:00 +01:00
Sergey Melyukov d6c9953c94 feat: implement entry.filename option 2020-02-07 13:00:25 +03:00
Tobias Koppers 18ae77ef56 addEntry takes options object instead of only name
remove duplication in EntryOptionsPlugin and DynamicEntryPlugin
lazy require (Dynamic)EntryPlugin in EntryOptionsPlugin
2020-02-04 21:21:42 +01:00
Sergey Melyukov 7da1b5e70a feat: add entrypoint descriptor with `import` property 2020-02-03 17:46:14 +03:00
Tobias Koppers 17044bf9c6 Merge tag 'v4.20.0' into next
4.20.0
2018-09-25 16:20:42 +02:00
Tobias Koppers d48975c948 use types from schema 2018-09-21 11:04:19 +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 cf5f1d723c format existing code 2018-07-30 21:29:21 +02:00
Sean Larkin a3092c6431 chore(types): add Compiler and Compilation type support 2018-05-14 11:43:18 -07:00
Tobias Koppers 5238159d21 run prettier on existing code 2018-02-25 02:00:20 +01:00
Florent Cailhol d4811b0d37 Use for-of loops instead of forEach 2018-01-23 22:53:18 +01:00
Florent Cailhol 7dd41b55c6 Replace deprecated Tapable#apply by Plugin#apply 2017-12-20 11:53:56 +01:00
Sean Larkin e9270cc56f fix(beautify): fix beautify-lint 2017-12-07 23:00:32 -08:00
Tobias Koppers f7c2f8e470 Update code style to arrow functions 2017-11-08 11:56:01 +01:00
moschan 9a87824f04 Refactor "EntryOptionPlugin.js" 2017-08-09 08:50:10 +08:00
Sam Saccone 8b3772d47f Remove function redeclaration.
Move the function from within the function def to outside, to no longer depend
on function level scope values and instead pass the arguments
explicitly.
2017-08-07 17:59:42 -07:00
Tobias Koppers 8e69a80847 code linting 2017-01-11 12:29:01 +01:00
Naoyuki Kanezawa a22b00e23d Dynamic entry support (#3634)
* enable to set a function to entry option

* add tests for entry function

* fix style

* fix identifier and readableIdentifier of MultiModule

* use arrow functions

* use arrow function

* remove incorrect new operators

* fix Validation tests
2017-01-09 01:31:49 -06:00
Jack Franklin b5a6684503 Refactor `EntryOptionPlugin` to ES2015 class (#3799) 2017-01-05 23:02:10 -06: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
Tobias Koppers 817e678d9a added DllPlugin and dll example 2015-05-16 18:27:59 +02:00