Commit Graph

328 Commits

Author SHA1 Message Date
Tobias Koppers 5583c245c9
Merge pull request #12601 from webpack/feature/error-details-auto 2021-02-05 19:58:25 +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 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 1c8d138e63 fix syntax, add unknown properties, fix incorrect types 2021-02-05 13:19:32 +01:00
Tobias Koppers d9ef8551c0 fix caching of asset modules 2021-02-04 14:13:44 +01:00
Tobias Koppers 08562140d8
Merge pull request #12557 from webpack/feature/profile 2021-02-02 20:32:06 +01:00
Tobias Koppers 36306a06e1
Merge pull request #11561 from smelukov/clean 2021-02-02 20:31:45 +01:00
Tobias Koppers 9f07ecb88b methods in OutputFileSystem must be optional to avoid breaking change 2021-02-02 19:15:34 +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 6559a55c66 fix after merge 2021-02-02 10:41:46 +03:00
Tobias Koppers 3e1c7082d2 log out module profile summary when profiling is enabled 2021-02-02 03:29:21 +01: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
chenxsan cbc813e979 export EntryObject typing 2021-01-30 15:05:45 +08:00
Tobias Koppers 827c52eeb7
Merge pull request #12529 from webpack/bugfix/tla 2021-01-29 16:59:08 +01:00
Tobias Koppers 4d2cf12a34
Merge pull request #12527 from artchenamazon/mf-custom-expose-module-name
feat: support custom chunk name in container expose options
2021-01-29 15:01:56 +01:00
Tobias Koppers 495cabb94d improve TLA consistency 2021-01-29 13:51:32 +01:00
Art Chen cd0310f6d6 feat: support custom chunk name in container expose options
Module federation generates async chunks for exposed modules, which by
default named after the internal module id. This change allows users to
assign a custom name so that the file can be statically referenced.
2021-01-28 09:00:05 -08:00
Sibiraj 81bb146061
make ProgressPlugin options optional 2021-01-28 17:31:11 +05:30
Tobias Koppers ae353e8a05 remove invalid property, avoid allocation of Set when only a single runtime is used 2021-01-27 14:48:28 +01:00
Tobias Koppers 858b0c8727 avoid allocation of inner map in RuntimeSpecMap when only a single runtime is used 2021-01-27 14:47:16 +01:00
Tobias Koppers a936d7b3a0 avoid unnecessary conditions 2021-01-27 13:37:34 +01:00
Tobias Koppers 21c08d56ec avoid allocation of meta info for dependencies when unused 2021-01-27 13:37:34 +01:00
Tobias Koppers f25345cae9 refactor code generation and HMR plugin to generate real module hashes for HMR 2021-01-26 14:45:11 +01:00
Tobias Koppers 97b83161d9 move responsibility of exports info and connected modules hashing from Dependencies to Module
fixes a bug where modules are incorrectly cached when exports info of connected modules change
2021-01-24 21:36:36 +01: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 a07a1269f0
Merge pull request #11316 from petermetz/master 2021-01-21 11:46:33 +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 5643e4b8a6 adjust timestamps when timestamp origin differ between process.hrtime and node.js inspector 2021-01-20 20:18:58 +01:00
Peter Somogyvari ded4cc64a0 perf(parser): binary search for comments in range
Signed-off-by: Peter Somogyvari <peter.metz@unarin.com>
2021-01-19 11:55:35 -08:00
Tobias Koppers 1e988a109b Merge branch 'master' into feat/issue_11571 2021-01-18 16:54:26 +01:00
David Houweling e04219d048 chore: add typings for DefaultStatsFactoryPlugin, Stats, and MultiStats 2021-01-17 15:18:38 +11: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 a945a9b62c use typescript 4.2 2021-01-13 21:40:39 +01:00
Tobias Koppers a2e326129c make filesystem types compatible with memfs and normal fs
fixes #12400
2021-01-13 10:14:58 +01:00
Tobias Koppers d2b9e69656
Merge pull request #12384 from Dico200/patch-1
Fix runtime type error in WatchIgnorePlugin
2021-01-12 08:12:05 +01:00
Tobias Koppers 58984b77cb update type annotations 2021-01-11 22:15:31 +01:00
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 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
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 6764e0694c
Merge pull request #12284 from jaiwanth-v/add-nestedModulesSpace-to-schema
Added nestedModulesSpace to schema and updated the types
2021-01-05 10:38:17 +01:00
Tobias Koppers cd70878036 update description 2021-01-04 15:43:47 +01:00