Tobias Koppers
c5fa7510f2
remove `output.assetModulePublicPath` as it would be redundant to `module.generator.asset.publicPath`
...
add test case for assetInfo merging
2021-03-22 15:05:50 +01:00
xiaoxiaojx
55fd79ee6a
feat: support assetModulePublicPath
2021-03-20 17:53:01 +08:00
Tobias Koppers
7572217e97
add `emit` option for asset modules
...
fixes #12474
2021-03-11 18:45:34 +01:00
Tobias Koppers
85a6eee0bb
move parser.filename back to generator.filename
2021-03-11 17:19:11 +01:00
Tobias Koppers
f93aacd55f
move filename processing from asset generator to parser
...
remove memory leak from asset generator
2021-03-11 10:40:03 +01:00
Tobias Koppers
404a854c8b
improve hmr error handling abilities
...
pass module and moduleId with self error handler
add error handlers for dependency accept handlers
pass moduleId and dependencyId with dependency accept error handler
add output.strictModuleErrorHandling to opt-in into strict module error handling
HotModuleReplacementPlugin enalbed output.strictModuleErrorHandling automatically
fixes #12826
2021-03-09 20:23:00 +01:00
Tobias Koppers
0b4506b206
improve typings for loggingDebug and other filtering configuration options
2021-02-22 13:18:27 +01:00
Tobias Koppers
5d57777a5e
add `parser.url: "relative"` option
...
this will generate URLs without base uri for `new URL`
publicPath is still added
2021-02-16 19:04:16 +01:00
Tobias Koppers
03f740a96c
Show error details automatically when only 2 or less errors are there
...
Show message that points you to errorsDetails when error details are hidden
Improve some error messages
Highlight important parts of error message with colors
2021-02-05 15:55:31 +01:00
Tobias Koppers
36306a06e1
Merge pull request #11561 from smelukov/clean
2021-02-02 20:31:45 +01:00
Tobias Koppers
4e99d94bc7
refactor to read directories in parallel
...
handle errors
rename "ignore" to "keep"
2021-02-02 18:49:45 +01:00
Tobias Koppers
22471f6dd6
Improvements to schema
2021-02-02 13:46:45 +01:00
Sergey Melyukov
654e4e1ba0
Merge remote-tracking branch 'upstream/master' into clean
2021-02-02 10:38:41 +03:00
Tobias Koppers
ba12efe094
change skipModule to test
...
allow values similar to `splitChunks.test`
using positive logic instead
2021-02-01 17:12:20 +01:00
Karlis Gangis
f0fa61ae1f
Add new options for lazyCompilation: imports and skipModule
2021-02-01 16:52:47 +02:00
Tobias Koppers
100317556e
add lazy compilation for entrypoints
2021-01-22 01:01:17 +01:00
Tobias Koppers
a1515fa9f0
add experimental lazy compilation
2021-01-21 17:39:56 +01:00
Tobias Koppers
7002681c33
remove duplication in schema and types
2021-01-20 20:53:29 +01:00
Tobias Koppers
013ca3bdd7
add commonjsMagicComments options
...
move javascript related options from 'module' to 'module.parser.javascript'
2021-01-20 20:19:49 +01:00
Tobias Koppers
1e988a109b
Merge branch 'master' into feat/issue_11571
2021-01-18 16:54:26 +01:00
Tobias Koppers
e475ec3fb0
Merge pull request #12429 from webpack/feature/resolve-in-externals
2021-01-15 16:07:15 +01:00
Tobias Koppers
b6e349b018
offer getResolve to externals
...
improve types of externals configuration option
support promises in externals
2021-01-15 13:55:37 +01:00
Jaiwanth
8569b154b5
Added chunkModulesSpace to schema
2021-01-14 13:06:33 +05:30
Tobias Koppers
32cea584b4
add resolve.preferAbsolute option
2021-01-11 16:38:15 +01:00
Tobias Koppers
87a0eef85c
separate index signatures from properties to generate valid typescript
2021-01-08 21:35:44 +01:00
Tobias Koppers
dcf6449393
allow function for externals.byLayer
2021-01-06 11:14:23 +01: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
aac7f2e619
allow to configure parsers and generators globally
...
get plugin schemas from root schema
normalize module.parser/generator
add test case
2021-01-05 12:08:30 +01:00
Tobias Koppers
cd70878036
update description
2021-01-04 15:43:47 +01:00
Jaiwanth
ee1fcf1255
Added nestedModulesSpace to schema and updated the types
2020-12-29 22:08:49 +05:30
Tobias Koppers
284eb60fc0
fix typings for `object` arguments
2020-12-18 13:52:27 +01:00
Tobias Koppers
b5b1f25ad2
improve typings for stats related hooks and classes
2020-12-17 18:51:55 +01:00
Tobias Koppers
8acebd2ff5
treat `undefined` equal to not existing in rules
...
both are treated as empty string
2020-12-17 11:20:11 +01:00
Tobias Koppers
c24091f54d
matched value can be undefined in function rule condition
2020-12-16 18:29:36 +01:00
Tobias Koppers
f76aa61d34
use simple output.pathinfo mode by default
...
cache simple pathinfo transformation in memory
2020-12-04 17:06:37 +01:00
Tobias Koppers
6762521773
upgrade tooling for improved array types
...
fixes #11801
fixes #11850
2020-10-28 20:51:08 +01:00
Tobias Koppers
e1b5a78a24
add optimization.sideEffects: "flag" and use this by default
...
analysing for side effects cause unnecessary changes in parent modules and we want to avoid that in development
2020-10-27 06:50:07 +01:00
Tobias Koppers
195a9408ff
improve description
2020-10-22 18:58:14 +02:00
Cronus1007
7f76c2d722
followSymLinks Options Added with the snapshots and typings updated
2020-10-22 19:57:07 +05:30
xiaoxiaojx
f25b09f783
feat: libraryTarget add assign-properties
2020-10-11 04:49:40 +08:00
Sergey Melyukov
ee0c891c67
(fix): pr comments
2020-10-07 15:30:14 +03:00
Sergey Melyukov
8c2e4f595b
Merge remote-tracking branch 'upstream/master' into clean
2020-10-07 14:19:55 +03:00
Sergey Melyukov
132ca09a11
(refactor): CleanPlugin
2020-10-07 13:48:51 +03:00
Sergey Melyukov
4b04a4b1f5
(feat): add output.clean
2020-09-30 18:33:30 +03:00
Tobias Koppers
68f0dbe748
allow plugins to modify the default size types for splitChunks
2020-09-29 14:34:59 +02:00
Tobias Koppers
4ea79e0683
update enhanced-resolve and webpack-sources
...
add resolve.preferRelative
set preferRelative for new URL() and new Worker() to fix relative requests
2020-09-28 20:43:03 +02:00
Aaron Tribou
0cf554f537
Merge branch 'master' into bugfix/accept-ignored-regex
2020-09-26 10:16:46 -05:00
Tobias Koppers
b8950e8581
output.chunkFilename can be a function
2020-09-25 16:03:05 +02:00
Aaron Tribou
e7bf987114
Check-in updates from special-lint-fix
2020-09-20 20:44:46 -05:00
Tobias Koppers
ea075be453
add config.ignoreWarnings
...
deprecate stats.warningsFilter
2020-09-20 22:08:38 +02:00