webpack/lib
Tobias Koppers 83c8180c7d prioritize static reexport over runtime reexport for target determination
this allows to optimize cases where empty modules are reexported e. g. caused by typescript type-only exports
2021-04-06 21:36:43 +02:00
..
asset merge related info correctly 2021-03-22 15:08:06 +01:00
async-modules performance optimization 2021-02-23 10:59:59 +01:00
cache improve handling of optional build dependencies 2021-04-06 11:28:41 +02:00
config tty detection uses provided stream 2021-04-06 15:23:22 +02:00
container add support for libraries combined with iife: false 2021-02-11 11:19:24 +01:00
debug adjust timestamps when timestamp origin differ between process.hrtime and node.js inspector 2021-01-20 20:18:58 +01:00
dependencies prioritize static reexport over runtime reexport for target determination 2021-04-06 21:36:43 +02:00
electron Fix require handling with electron; fixes #11599 2020-10-08 01:06:31 +02:00
errors
hmr allow HMR deps for lazy compilation 2021-03-22 11:59:37 +01:00
ids further optimizations 2021-02-23 12:03:26 +01:00
javascript avoid memory leak in v8 ICs after parsing and building modules 2021-03-25 14:52:12 +01:00
json fix backslash-escaping string replace 2021-02-10 18:25:18 +01:00
library offer a hook to opt-out of strict mode 2021-03-15 16:38:50 +01:00
logging improvements 2021-04-06 15:20:27 +02:00
node improvements 2021-04-06 15:20:27 +02:00
optimize cleanup modules after compilation to avoid leaking references when they are cached 2021-03-15 11:23:54 +01:00
performance prettier 2020-11-28 20:04:11 +01:00
prefetch add expressionFunction helper to choose shortest variant when return value is not relevant 2021-03-15 15:40:30 +01:00
rules add experiments.layers 2021-01-05 20:50:59 +01:00
runtime allow to place runtime outside of the output path 2021-03-16 13:07:58 +01:00
schemes split HttpUrlPlugin into two plugins for http and https 2020-07-06 17:45:45 +02:00
serialization avoid memory leak in v8 ICs after (de)serializing 2021-03-25 13:24:52 +01:00
sharing add expressionFunction helper to choose shortest variant when return value is not relevant 2021-03-15 15:40:30 +01:00
stats expose all Stats child types 2021-03-31 13:37:53 +02:00
util fix some edge cases in deterministicGrouping and add more tests 2021-03-31 16:55:30 +02:00
wasm improve checkEnabled error messages 2021-01-05 11:34:57 +01:00
wasm-async improve TLA consistency 2021-01-29 13:51:32 +01:00
wasm-sync update `@webassemblyjs` 2021-01-09 10:39:24 +01:00
web add expressionFunction helper to choose shortest variant when return value is not relevant 2021-03-15 15:40:30 +01:00
webworker allow to place runtime outside of the output path 2021-03-16 13:07:58 +01:00
APIPlugin.js refactor startup logic to better integrate with libraries 2021-03-08 20:25:09 +01:00
AbstractMethodError.js remove weird types 2020-05-12 15:58:43 +02:00
AsyncDependenciesBlock.js new Worker() support 2020-09-08 07:37:20 +02:00
AsyncDependencyToInitialChunkError.js
AutomaticPrefetchPlugin.js Merge pull request #11330 from webpack/improve/automatic-prefetch-plugin 2021-01-19 20:19:39 +01:00
BannerPlugin.js chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
Cache.js Create Cache facade to make it easier to use 2020-07-15 11:14:28 +02:00
CacheFacade.js avoid unnecessary MultiItemCache 2021-01-26 14:45:11 +01:00
CaseSensitiveModulesWarning.js performance optimization 2021-02-23 10:59:59 +01:00
Chunk.js fix problem with startup of non-js initial chunks 2021-03-14 19:54:50 +01:00
ChunkGraph.js cleanup modules after compilation to avoid leaking references when they are cached 2021-03-15 11:23:54 +01:00
ChunkGroup.js new Worker() support 2020-09-08 07:37:20 +02:00
ChunkRenderError.js
ChunkTemplate.js Changed name of memorize function to memoize 2020-12-27 03:02:57 +05:30
CleanPlugin.js methods in OutputFileSystem must be optional to avoid breaking change 2021-02-02 19:15:34 +01:00
CodeGenerationError.js
CodeGenerationResults.js add "first" to SetHelpers 2021-02-09 21:26:30 +01:00
CommentCompilationWarning.js
CompatibilityPlugin.js avoid unnecessary replacement of `__webpack_require__` when nesting bundles 2021-01-04 15:33:25 +01:00
Compilation.js DefinePlugin takes care of module invalidation when values have changed 2021-03-15 15:19:42 +01:00
Compiler.js avoid leaking memory after the compiler has been closed 2021-04-01 16:59:48 +02:00
ConcatenationScope.js handle the case when execution order in a concatenated module is runtime-dependent 2020-10-29 17:53:56 +01:00
ConcurrentCompilationError.js prettier 2020-11-28 20:04:11 +01:00
ConditionalInitFragment.js merge multiple import statements with different conditions correctly 2020-10-27 06:48:54 +01:00
ConstPlugin.js optional chaining leads to undefined and never null 2020-08-07 16:43:13 +02:00
ContextExclusionPlugin.js
ContextModule.js cleanup modules after compilation to avoid leaking references when they are cached 2021-03-15 11:23:54 +01:00
ContextModuleFactory.js make filesystem types compatible with memfs and normal fs 2021-01-13 10:14:58 +01:00
ContextReplacementPlugin.js add support for resource fragments 2020-07-03 17:03:15 +02:00
DefinePlugin.js DefinePlugin takes care of module invalidation when values have changed 2021-03-15 15:19:42 +01:00
DelegatedModule.js cleanup modules after compilation to avoid leaking references when they are cached 2021-03-15 11:23:54 +01:00
DelegatedModuleFactoryPlugin.js enable mjs experiment 2020-09-07 23:15:24 +02:00
DelegatedPlugin.js
DependenciesBlock.js refactor used exports analysis, hashing, code generation, optimizations 2020-07-27 22:40:44 +02:00
Dependency.js prioritize static reexport over runtime reexport for target determination 2021-04-06 21:36:43 +02:00
DependencyTemplate.js add ConcatenationScope 2020-09-15 12:34:50 +02:00
DependencyTemplates.js
DllEntryPlugin.js
DllModule.js cleanup modules after compilation to avoid leaking references when they are cached 2021-03-15 11:23:54 +01:00
DllModuleFactory.js
DllPlugin.js chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
DllReferencePlugin.js chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
DynamicEntryPlugin.js fix jsdoc documentations 2020-04-28 19:42:58 +02:00
EntryOptionPlugin.js add experiments.layers 2021-01-05 20:50:59 +01:00
EntryPlugin.js new Worker() support 2020-09-08 07:37:20 +02:00
Entrypoint.js new Worker() support 2020-09-08 07:37:20 +02:00
EnvironmentPlugin.js fix jsdoc documentations 2020-04-28 19:42:58 +02:00
ErrorHelpers.js
EvalDevToolModulePlugin.js add support for libraries combined with iife: false 2021-02-11 11:19:24 +01:00
EvalSourceMapDevToolPlugin.js add support for libraries combined with iife: false 2021-02-11 11:19:24 +01:00
ExportsInfo.js prioritize static reexport over runtime reexport for target determination 2021-04-06 21:36:43 +02:00
ExportsInfoApiPlugin.js fix jsdoc documentations 2020-04-28 19:42:58 +02:00
ExternalModule.js add support for libraries combined with iife: false 2021-02-11 11:19:24 +01:00
ExternalModuleFactoryPlugin.js offer getResolve to externals 2021-01-15 13:55:37 +01:00
ExternalsPlugin.js add support for async externals 2020-05-19 17:25:43 +02:00
FileSystemInfo.js improve resolving of build dependencies when `exports` field is used 2021-04-06 13:58:36 +02:00
FlagAllModulesAsUsedPlugin.js flag modules in dlls without entryOnly with side-effects to keep them 2020-12-15 16:38:20 +01:00
FlagDependencyExportsPlugin.js prioritize static reexport over runtime reexport for target determination 2021-04-06 21:36:43 +02:00
FlagDependencyUsagePlugin.js enforce side-effects on async entries similar to normal entrypoints 2021-02-10 16:23:36 +01:00
FlagEntryExportAsUsedPlugin.js refactor used exports analysis, hashing, code generation, optimizations 2020-07-27 22:40:44 +02:00
Generator.js fix caching of asset modules 2021-02-04 14:13:44 +01:00
GraphHelpers.js
HarmonyLinkingError.js prettier 2020-11-28 20:04:11 +01:00
HookWebpackError.js
HotModuleReplacementPlugin.js improve hmr error handling abilities 2021-03-09 20:23:00 +01:00
HotUpdateChunk.js fix incorrect disposing of modules during HMR 2020-09-08 10:25:41 +02:00
IgnoreErrorModuleFactory.js ignore error/warning when module does not exists 2020-04-14 02:05:02 +03:00
IgnorePlugin.js chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
IgnoreWarningsPlugin.js add config.ignoreWarnings 2020-09-20 22:08:38 +02:00
InitFragment.js add support for async externals 2020-05-19 17:25:43 +02:00
InvalidDependenciesModuleWarning.js fix caching crash in ConcatenatedModule 2021-01-08 15:44:26 +01:00
JavascriptMetaInfoPlugin.js add support for libraries combined with iife: false 2021-02-11 11:19:24 +01:00
LibManifestPlugin.js add renderStartup hook 2021-02-09 21:27:10 +01:00
LibraryTemplatePlugin.js fix jsdoc documentations 2020-04-28 19:42:58 +02:00
LoaderOptionsPlugin.js chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
LoaderTargetPlugin.js fix jsdoc documentations 2020-04-28 19:42:58 +02:00
MainTemplate.js Changed name of memorize function to memoize 2020-12-27 03:02:57 +05:30
Module.js Merge pull request #12896 from webpack/feature/define-cache-version 2021-03-15 16:14:35 +01:00
ModuleBuildError.js add more types 2020-08-02 23:47:54 +03:00
ModuleDependencyError.js Show error details automatically when only 2 or less errors are there 2021-02-05 15:55:31 +01:00
ModuleDependencyWarning.js Show error details automatically when only 2 or less errors are there 2021-02-05 15:55:31 +01:00
ModuleError.js add more types 2020-08-02 23:47:54 +03:00
ModuleFactory.js add experiments.layers 2021-01-05 20:50:59 +01:00
ModuleFilenameHelpers.js Changed name of memorize function to memoize 2020-12-27 03:02:57 +05:30
ModuleGraph.js cleanup modules after compilation to avoid leaking references when they are cached 2021-03-15 11:23:54 +01:00
ModuleGraphConnection.js performance optimization 2021-02-23 10:59:59 +01:00
ModuleInfoHeaderPlugin.js readd missing char in the pathinfo comment 2020-12-11 14:36:48 +01:00
ModuleNotFoundError.js Improve suggested Node.js polyfill config 2020-10-07 22:52:46 +02:00
ModuleParseError.js report better error message when wasm experiment is not enabled 2020-04-28 20:22:50 +02:00
ModuleProfile.js log out module profile summary when profiling is enabled 2021-02-02 03:29:21 +01:00
ModuleRestoreError.js
ModuleStoreError.js
ModuleTemplate.js Changed name of memorize function to memoize 2020-12-27 03:02:57 +05:30
ModuleWarning.js add more types 2020-08-02 23:47:54 +03:00
MultiCompiler.js fix: allow invalidation after first watch run 2021-03-19 12:32:50 -07:00
MultiStats.js fix stats output in some edge cases 2021-02-13 21:02:47 +01:00
MultiWatching.js do cache related tasks after calling handler in watching 2020-08-01 09:00:17 +02:00
NoEmitOnErrorsPlugin.js
NoModeWarning.js Show error details automatically when only 2 or less errors are there 2021-02-05 15:55:31 +01:00
NodeStuffPlugin.js improve target options 2020-09-10 11:42:09 +02:00
NormalModule.js avoid memory leak in v8 ICs after parsing and building modules 2021-03-25 14:52:12 +01:00
NormalModuleFactory.js fix imports field 2021-03-19 09:13:47 +01:00
NormalModuleReplacementPlugin.js
NullFactory.js
OptimizationStages.js
OptionsApply.js
Parser.js add more types 2020-08-02 23:47:54 +03:00
PrefetchPlugin.js
ProgressPlugin.js avoid NaN in Progress reporting 2021-02-02 13:09:49 +01:00
ProvidePlugin.js fix called variables with ProvidePlugin 2020-10-10 02:52:43 +02:00
RawModule.js allow to define "ignored modules" per dependency 2021-03-11 18:37:20 +01:00
RecordIdsPlugin.js fix incorrect id assignment of record ids plugin 2021-03-19 15:57:40 +01:00
RequestShortener.js
RequireJsStuffPlugin.js
ResolverFactory.js add resolveByProperty to cleverMerge 2021-01-06 10:14:20 +01:00
RuntimeGlobals.js refactor startup logic to better integrate with libraries 2021-03-08 20:25:09 +01:00
RuntimeModule.js add selective runtime requirements from startup logic which doesn't prevent inlining modules 2020-12-11 14:36:48 +01:00
RuntimePlugin.js rename files, avoid indenting runtime code 2021-03-09 09:42:01 +01:00
RuntimeTemplate.js add expressionFunction helper to choose shortest variant when return value is not relevant 2021-03-15 15:40:30 +01:00
SelfModuleFactory.js
SingleEntryPlugin.js
SizeFormatHelpers.js
SourceMapDevToolModuleOptionsPlugin.js add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
SourceMapDevToolPlugin.js avoid making the package.json in context a build dependency 2021-03-06 16:36:14 +01:00
Stats.js fix syntax, add unknown properties, fix incorrect types 2021-02-05 13:19:32 +01:00
Template.js fix problem with strict mode for assigning libraries with separate runtime chunk 2021-03-16 19:53:13 +01:00
TemplatedPathPlugin.js fix: code 2021-03-15 14:42:55 +03:00
UnhandledSchemeError.js refactor scheme handling into plugins 2020-07-03 17:01:02 +02:00
UnsupportedFeatureWarning.js
UseStrictPlugin.js fix jsdoc documentations 2020-04-28 19:42:58 +02:00
WarnCaseSensitiveModulesPlugin.js
WarnDeprecatedOptionPlugin.js
WarnNoModeSetPlugin.js
WatchIgnorePlugin.js update type annotations 2021-01-11 22:15:31 +01:00
Watching.js fix some incorrect properties accesses 2021-02-24 20:12:32 +01:00
WebpackError.js
WebpackIsIncludedPlugin.js ignore error/warning when module does not exists 2020-04-14 02:05:02 +03:00
WebpackOptionsApply.js add GC to the memory cache and make it configurable 2021-04-01 17:12:53 +02:00
WebpackOptionsDefaulter.js
buildChunkGraph.js build chunk graph with runtime awareness 2020-10-16 11:47:38 +02:00
cli.js fix CLI test 2020-08-16 13:29:28 +03:00
formatLocation.js
index.js Merge pull request #12987 from barak007/export-missing-entities 2021-04-01 17:32:48 +02:00
validateSchema.js fix typo in validateScema.js 2021-02-01 08:38:09 +05:30
webpack.js refactor dependencies handling in MultiCompiler 2021-02-13 21:02:47 +01:00