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
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
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
Tobias Koppers
efec709884
update tooling, some fixes in types
...
fixes #10757
2020-04-28 19:42:55 +02:00
Anix
f9eb7f5028
fix: exporting deterministicChinkIdPlugin as ids ( fixes #10608 )
2020-04-21 10:19:41 +02:00
Tobias Koppers
67d4132534
improve top level types
2020-04-21 09:26:07 +02:00
Tobias Koppers
6178aea763
improve typings and test them in CI
...
lazy load all webpack exports
2020-04-21 09:25:43 +02:00
Tobias Koppers
3f9e6d5ec6
move tooling into separate repo, add type generation and test types
2020-04-21 09:25:38 +02:00
Tobias Koppers
c0c98f4254
move cli flag generation to runtime
2020-03-25 23:29:26 +01:00
Tobias Koppers
f1dd328779
refactor library system
2020-02-26 17:35:52 +01:00
Tobias Koppers
6477ca56f8
Split options defaulting in normalization and defaults
...
Apply defaults after plugins are applied to allow plugins to feature their own defaults.
This allows to make preset plugins.
2020-02-17 19:12:54 +01:00
Tobias Koppers
2f3da77d38
Introduce a Parser base class to improve Parser types
...
Parser.parse must be always sync
make JSON and WASM modules strict
fix inherit-types tooling to omit static methods
2019-11-30 01:36:28 +01:00
Sergey Melyukov
a214be41a0
add deprecation codes
2019-11-14 17:03:15 +03:00
Tobias Koppers
8696017c55
add Dependency.getReferencedExports
...
remove Dependency.getReference
remove DependencyReference
2019-10-30 07:48:37 +01:00
Tobias Koppers
a3c6584e1c
move webpack.JavascriptModulePlugin to webpack.javascript.JavascriptModulePlugin
2019-10-22 09:09:28 +02:00
evilebottnawi
8198ffb3e6
refactor: code
2019-10-22 00:14:05 +02:00
Tobias Koppers
ee3e8da508
export classes from webpack, and use them in webpack configs
2019-10-09 17:11:34 +02:00
Tobias Koppers
6b679341b1
expose tapable plugins on export
2019-10-09 13:50:52 +02:00
Tobias Koppers
53f68c9e7b
update deprecated usage of chunk and main templates
2019-10-08 23:46:33 +02:00
Tobias Koppers
ccc53dba5e
update deprecated usage in library-related plugins
2019-10-08 23:46:31 +02:00
Tobias Koppers
eb3ea4d39e
extract webpack config validation to keep validate API
2019-08-08 12:44:45 +02:00
evilebottnawi
6a99b5316d
refactor: migrate on `schema-utils`
2019-08-07 18:10:40 +03:00
Tobias Koppers
fe790eea65
update eslint and lint-staged
2019-08-06 10:57:37 +02:00
Tobias Koppers
c94073b31c
update enhanced-resolve
2019-07-05 00:45:41 +02:00
Tobias Koppers
39c75ee6a9
add stages for Cache plugins
2019-05-13 11:03:10 +02:00
Florent Cailhol
e06a808763
Expose the serialization API
2018-12-28 13:21:19 +01:00
Florent Cailhol
5923c62fdf
Export NodeEnvironmentPlugin
2018-12-10 11:40:59 +01:00
Florent Cailhol
9caaa664f7
Refactor webpack main
2018-12-09 15:32:03 +01:00