Commit Graph

75 Commits

Author SHA1 Message Date
Tobias Koppers b6609a4f6b add `experiments.buildHttp`
allows to build remote resources
stores remote resources in a lockfile
2021-08-05 15:47:18 +02:00
Tobias Koppers b0fa9ccada pretty files 2021-05-11 09:31:46 +02:00
Tobias Koppers e21b1d46fe precompile schemas for improved startup performance 2021-04-16 16:02:58 +02:00
Tobias Koppers b9519dcf01
Merge pull request #12987 from barak007/export-missing-entities
Export AsyncDependenciesBlock and ModuleDependency
2021-04-01 17:32:48 +02:00
Tobias Koppers 667bbf02bb export base dependencies correctly 2021-03-31 16:40:24 +02:00
Tobias Koppers f8b7625c43 expose all Stats child types 2021-03-31 13:37:53 +02:00
43081j 64fc30f0fe expose StatsAsset type
Fixes #13014
2021-03-29 22:02:31 +01:00
Barak Igal 92e8a1252e export AsyncDependenciesBlock and ModuleDependency 2021-03-25 15:37:20 +02:00
Nicolas Penin 3a2409fcde
Update index.js 2021-02-21 10:59:17 +01:00
Nicolas Penin 83bc3c588b
updated typedef in index.js 2021-02-21 10:53:38 +01:00
chenxsan e4b86ec59b export type only 2021-02-05 16:05:42 +01:00
chenxsan a89b7acb02 export MultiStats type 2021-02-05 16:05:00 +01:00
Tobias Koppers 1cfc10e4e4
Merge pull request #12228 from davidhouweling/fix/typings-for-stats 2021-02-05 16:03:28 +01:00
Tobias Koppers 1c8d138e63 fix syntax, add unknown properties, fix incorrect types 2021-02-05 13:19:32 +01:00
Sergey Melyukov 654e4e1ba0 Merge remote-tracking branch 'upstream/master' into clean 2021-02-02 10:38:41 +03:00
chenxsan cbc813e979 export EntryObject typing 2021-01-30 15:05:45 +08:00
Tobias Koppers 09862aacf8 add warning when invalid dependencies are reported by loaders/plugins
add automatic workaround for invalid dependencies

#12340
#12283
2021-01-07 13:31:16 +01:00
highonweb bc1911bf78 Changed name of memorize function to memoize 2020-12-27 03:02:57 +05:30
Tobias Koppers 745a583040 export WebpackError 2020-12-17 10:27:18 +01:00
Tobias Koppers 63dda151a2 expose Asset and AssetInfo types
allow custom properties in AssetInfo
2020-12-17 10:27:18 +01:00
Tobias Koppers ccfe01aab4 allow to process assets that are added during processAssets
fix and add processAsset stages

allow to hook into RealContentHashPlugin for custom hashing
2020-11-26 14:00:21 +01:00
Tobias Koppers 0e2f3fbf5c
Merge pull request #11645 from wood1986/features/expose-entry-fn
fix: expose EntryPlugin creation
2020-10-13 14:25:45 +02:00
Tobias Koppers 65eca2e529 expose webpack from Compiler
fix some jsdoc descriptions
2020-10-12 20:16:58 +02:00
Tobias Koppers 3be5a9f2d9 expose DynamicEntryPlugin 2020-10-12 09:39:43 +02:00
Tobias Koppers 87c85e3fa3 cleanup, expose plugin class 2020-10-12 09:37:07 +02:00
Nitin Kumar 37c495c7ab export type RuleSetUseItem 2020-10-08 14:22:59 +05:30
Nitin Kumar 39faf34083 export type RuleSetUse 2020-10-08 14:09:05 +05:30
Nitin Kumar e5fd246353 export type RuleSetConditionAbsolute 2020-10-08 14:07:46 +05:30
Nitin Kumar 660baadbab export RuleSetCondition types 2020-10-08 14:05:58 +05:30
Sergey Melyukov 8c2e4f595b Merge remote-tracking branch 'upstream/master' into clean 2020-10-07 14:19:55 +03:00
Tobias Koppers fcca1d649d analyse source code for side effects
mark the module as side effects free in such cases
allow 3rd state TRANSITIVE_ONLY to be side-effect-free but dependencies should still be included (for mini-css-extract-plugin)
2020-10-06 14:10:29 +02:00
Sergey Melyukov 6ccec90ef4 (feat): support ignore propery and ignore hook in CleanPlugin 2020-10-02 18:08:03 +03:00
Tobias Koppers 963d67178c expose classes needed to create a custom module type 2020-09-25 10:53:14 +02:00
Tobias Koppers 39e1a7e4c7 move magic names to constants in ConcatenationScope
improve types
2020-09-15 12:36:06 +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 23d230bdf9 move chunk loading into separate plugins 2020-08-28 10:58:03 +02:00
Tobias Koppers 49d9ec5625 cleanup public api and expose JavascriptParser 2020-08-28 01:46:14 +02:00
Tobias Koppers 0a6f2bf401 expose missing target plugins 2020-08-19 23:17:33 +02:00
Tobias Koppers 2a45cf758e export webpack-sources 2020-08-19 20:06:05 +02:00
Tobias Koppers 709e3f1788 remove unused code 2020-08-19 15:08:34 +02:00
Tobias Koppers 1265765141 polish, types 2020-07-27 22:41:04 +02:00
Tobias Koppers 7bbc2aa3ce split HttpUrlPlugin into two plugins for http and https 2020-07-06 17:45:45 +02:00
Tobias Koppers 7dad1c1c30 refactor scheme handling into plugins 2020-07-03 17:01:02 +02:00
Tobias Koppers bf4f8c1d66 remove all overrides and overridables related code 2020-05-26 21:39:40 +02:00
Tobias Koppers 2fc44c2343 add share plugin 2020-05-26 00:46:09 +02:00
Tobias Koppers 1b3246361b add consume shared module plugin 2020-05-25 23:14:19 +02:00
Tobias Koppers a468cbbd2e add provide shared module plugin 2020-05-23 16:08:51 +02:00
Tobias Koppers 4f194f0748 advanced configs for container plugins
refactor options parsing to allow advanced config options
  automatic scoping has been removed and a scope method is offered instead
move shared schema definitions into a shared schema to allow to sync them
allow to pass multiple modules to a single exposed name
  they are all executed and the last one is exported
allow to pass multiple container locations to remotes
  they are tried in order, falling back to the next one when one fails
allow remotes to be promises as preparation of async externals
2020-05-14 15:50:35 +02:00
Tobias Koppers a432c3ff18 Merge branch 'master' into dev-1 2020-04-29 12:39:07 +02:00
Tobias Koppers 87bced2591 upgrade tooling, expose container plugins, fix typings tests 2020-04-28 23:06:04 +02:00