webpack/lib
Tobias Koppers aed6ab1d89 improve renaming of variables in concatenated modules
more detailed tracking of conflicted references
to avoid renaming variables when possible

fixes #10168
2019-12-23 21:54:57 +01:00
..
asset show error when mimetype is missing 2019-12-23 17:44:41 +01:00
async-modules add missing runtime requirement for async module header 2019-11-19 13:11:23 +01:00
cache fix cacheWithContext inversion 2019-11-13 12:18:32 +01:00
debug refactor: code 2019-10-22 00:14:05 +02:00
dependencies fix parsing of requires in requires 2019-12-23 17:43:41 +01:00
errors detect cycles during this.loadModule from loader 2019-12-20 12:50:55 +01:00
hmr get rid of some hacks in declarations file 2019-11-28 16:19:18 +01:00
ids avoid creating arrays in getConnections 2019-11-10 21:05:05 +01:00
javascript cache module wrappers in memory 2019-12-19 14:26:27 +01:00
json Don't use JSON.parse when json is a string 2019-12-20 12:53:17 +01:00
logging Merge pull request #9934 from webpack/dependabot/npm_and_yarn/typescript-3.7.2 2019-11-07 20:41:16 +01:00
node pr comments 2019-12-03 18:11:46 +03:00
optimize improve renaming of variables in concatenated modules 2019-12-23 21:54:57 +01:00
parsing Fix typo. 2019-12-13 10:25:15 -05:00
performance Merge tag 'v4.40.2' into next 2019-09-13 16:50:45 +02:00
prefetch refactor chunk prefetching/preloading into separate plugin and runtime modules 2019-12-19 12:01:46 +01:00
rules improve location reporting 2019-12-17 17:15:49 +01:00
runtime pr comments 2019-12-03 18:11:46 +03:00
serialization faster object type lookup during deserialization 2019-11-13 12:18:04 +01:00
stats fix spacing of errors/warnings when details or stack is enabled 2019-11-20 15:54:32 +01:00
util cleaup 2019-12-17 16:33:06 +01:00
wasm backporting to webpack-4 2019-12-17 22:16:33 +05:30
wasm-async Refactor how exportsType work 2019-12-06 11:13:08 +01:00
web refactor chunk prefetching/preloading into separate plugin and runtime modules 2019-12-19 12:01:46 +01:00
webworker refactor hop runtime helper 2019-12-03 16:27:39 +03:00
APIPlugin.js move BasicEvaluatedExpression and JavascriptParserHelpers to javascript directory 2019-10-22 09:27:52 +02:00
AbstractMethodError.js Merge tag 'v4.36.0' into next 2019-07-17 16:02:33 +02:00
AmdTemplatePlugin.js refactor: code 2019-10-22 00:14:05 +02:00
AsyncDependenciesBlock.js Merge tag 'v4.36.0' into next 2019-07-17 16:02:33 +02:00
AsyncDependencyToInitialChunkError.js add more types and fix/remove TODOs 2019-06-14 10:45:56 +02:00
AutomaticPrefetchPlugin.js Add types to various plugins 2018-11-02 21:06:35 +01:00
BannerPlugin.js Merge pull request #9756 from MartijnCuppens/banner-remove-trailing-spaces 2019-10-17 21:22:52 +02:00
Cache.js compute asset hash lazily to avoid hash computation when memory cache is used 2019-11-12 16:07:50 +01:00
CaseSensitiveModulesWarning.js avoid creating arrays in getConnections 2019-11-10 21:05:05 +01:00
Chunk.js Merge pull request #9971 from smelukov/deprecation-codes 2019-11-15 12:04:47 +01:00
ChunkGraph.js additional performance improvement for chunks with single source type 2019-11-20 15:27:38 +01:00
ChunkGroup.js add deprecation codes 2019-11-14 17:03:15 +03:00
ChunkRenderError.js format existing code 2018-07-30 21:29:21 +02:00
ChunkTemplate.js refactor: code 2019-10-22 00:14:05 +02:00
CodeGenerationError.js refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration 2019-10-08 23:59:48 +02:00
CommentCompilationWarning.js remove unnecessary module arguments from module attached errors 2018-10-29 22:18:08 +01:00
CompatibilityPlugin.js run prettier 2019-11-15 10:56:01 +01:00
Compilation.js detect cycles during this.loadModule from loader 2019-12-20 12:50:55 +01:00
Compiler.js rename filesModified -> modifiedFiles 2019-11-15 13:49:15 +01:00
ConcurrentCompilationError.js format existing code 2018-07-30 21:29:21 +02:00
ConstPlugin.js add presentational dependencies which are cheaper, but allow only templating 2019-10-30 07:49:20 +01:00
ContextExclusionPlugin.js Add types to various plugins 2018-11-02 21:06:35 +01:00
ContextModule.js Refactor how exportsType work 2019-12-06 11:13:08 +01:00
ContextModuleFactory.js update enhanced-resolve 2019-07-05 00:45:41 +02:00
ContextReplacementPlugin.js refactor filesystem interfaces 2019-06-11 17:32:58 +02:00
DefinePlugin.js move BasicEvaluatedExpression and JavascriptParserHelpers to javascript directory 2019-10-22 09:27:52 +02:00
DelegatedModule.js upgrade webpack-sources 2019-11-12 08:59:08 +01:00
DelegatedModuleFactoryPlugin.js fix: remove redundant boolean check of request variable 2019-06-15 13:26:04 +02:00
DelegatedPlugin.js NullFactory is not required 2019-08-07 16:14:03 +02:00
DependenciesBlock.js allocate presentationalDependencies array only when needed 2019-11-10 21:05:28 +01:00
Dependency.js add support for tree-shaking JSON modules 2019-11-05 10:37:59 +01:00
DependencyTemplate.js Use AbstractMethodError all over the project 2019-10-20 13:24:28 +02:00
DependencyTemplates.js Merge tag 'v4.36.0' into next 2019-07-17 16:02:33 +02:00
DllEntryPlugin.js allow multiple entryModules per chunk 2018-08-15 11:51:16 +02:00
DllModule.js upgrade webpack-sources 2019-11-12 08:59:08 +01:00
DllModuleFactory.js report dependencies from resolver to the compilation 2019-01-08 15:14:25 +01:00
DllPlugin.js refactor: migrate on `schema-utils` 2019-08-07 18:10:40 +03:00
DllReferencePlugin.js Merge pull request #9548 from webpack/refactor-migrate-on-schema-utils 2019-08-08 13:42:52 +02:00
DynamicEntryPlugin.js Merge tag 'v4.20.0' into next 2018-09-25 16:20:42 +02:00
EntryOptionPlugin.js Merge tag 'v4.20.0' into next 2018-09-25 16:20:42 +02:00
EntryPlugin.js Fix Compiler.hooks.make callbacks 2019-05-10 09:55:59 +02:00
Entrypoint.js Merge tag 'v4.39.2' into next 2019-08-13 21:47:00 +02:00
EnvironmentPlugin.js Update EnvironmentPlugin TODO comment 2018-10-12 18:03:03 +02:00
ErrorHelpers.js format existing code 2018-07-30 21:29:21 +02:00
EvalDevToolModulePlugin.js improve message, performance optimizations 2019-12-18 20:13:05 +01:00
EvalSourceMapDevToolPlugin.js improve message, performance optimizations 2019-12-18 20:13:05 +01:00
ExportPropertyTemplatePlugin.js refactor: code 2019-10-22 00:14:05 +02:00
ExportsInfoApiPlugin.js add presentational dependencies which are cheaper, but allow only templating 2019-10-30 07:49:20 +01:00
ExternalModule.js upgrade webpack-sources 2019-11-12 08:59:08 +01:00
ExternalModuleFactoryPlugin.js hoist the deprecate function 2019-11-15 10:10:26 +01:00
ExternalsPlugin.js Add types to various plugins 2018-11-02 21:06:35 +01:00
FileSystemInfo.js fix FileSystemInfo logging when multiple different types of invalidation occur 2019-11-14 18:05:21 +01:00
FlagDependencyExportsPlugin.js add support for tree-shaking JSON modules 2019-11-05 10:37:59 +01:00
FlagDependencyUsagePlugin.js allocate Module.factoryMeta only when needed 2019-11-10 21:05:21 +01:00
FlagEntryExportAsUsedPlugin.js refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration 2019-10-08 23:59:48 +02:00
FlagInitialModulesAsUsedPlugin.js move usedExports into ExportsInfo 2019-01-28 08:38:37 +01:00
FlagUsingEvalPlugin.js pr comments 2019-12-18 16:36:19 +03:00
Generator.js move data url condition to parser 2019-11-26 15:43:58 +01:00
GraphHelpers.js Move AsyncDependenciesBlock.chunkGroup into ChunkGraph 2018-08-22 20:17:49 +02:00
HarmonyLinkingError.js format existing code 2018-07-30 21:29:21 +02:00
HookWebpackError.js Deprecate MainTemplate, ChunkTemplate, ModuleTemplate 2019-10-08 23:46:26 +02:00
HotModuleReplacementPlugin.js Assign fallback ChunkGraph to HotUpdateChunks 2019-12-16 13:21:39 +01:00
HotUpdateChunk.js Merge tag 'v4.36.0' into next 2019-07-17 16:02:33 +02:00
IgnorePlugin.js refactor: migrate on `schema-utils` 2019-08-07 18:10:40 +03:00
InitFragment.js consistency and bugfixes for reexporting json 2019-11-05 10:39:12 +01:00
LibManifestPlugin.js avoid creating arrays in getConnections 2019-11-10 21:05:05 +01:00
LibraryTemplatePlugin.js refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration 2019-10-08 23:59:48 +02:00
LoaderOptionsPlugin.js refactor: migrate on `schema-utils` 2019-08-07 18:10:40 +03:00
LoaderTargetPlugin.js Move normalModuleLoader hook 2018-11-12 14:26:32 +01:00
MainTemplate.js refactor: code 2019-10-22 00:14:05 +02:00
Module.js use Symbol to flag skipped export names 2019-12-06 11:13:14 +01:00
ModuleBuildError.js Add types on module files 2018-11-07 14:03:25 +01:00
ModuleDependencyError.js move Module.issuer into Module.getIssuer(moduleGraph) 2018-08-09 16:44:28 +02:00
ModuleDependencyWarning.js Add types on module files 2018-11-07 14:03:25 +01:00
ModuleError.js Add types on module files 2018-11-07 14:03:25 +01:00
ModuleFactory.js Use AbstractMethodError all over the project 2019-10-20 13:24:28 +02:00
ModuleFilenameHelpers.js Merge tag 'v4.36.0' into next 2019-07-17 16:02:33 +02:00
ModuleGraph.js use Symbol to flag skipped export names 2019-12-06 11:13:14 +01:00
ModuleGraphConnection.js allocate ModuleGraphConnections.explanations only when needed 2019-11-10 21:05:07 +01:00
ModuleInfoHeaderPlugin.js make module info comment more pretty 2019-12-06 11:32:07 +01:00
ModuleNotFoundError.js update enhanced-resolve 2019-07-05 00:45:41 +02:00
ModuleParseError.js fix merge issue 2019-06-13 11:22:00 +02:00
ModuleProfile.js Add types to various plugins 2018-11-02 21:06:35 +01:00
ModuleRestoreError.js fix message update in ModuleRestoreError 2018-11-08 18:08:12 +01:00
ModuleStoreError.js Create error class for cache store errors 2019-12-16 21:06:27 +01:00
ModuleTemplate.js refactor: code 2019-10-22 00:14:05 +02:00
ModuleWarning.js Add types on module files 2018-11-07 14:03:25 +01:00
MultiCompiler.js fix: replaced some TODO with correct types and fixed some runtime issue 2019-11-28 22:48:01 +01:00
MultiStats.js replace Object.assign with object spread 2019-06-19 13:16:05 +02:00
MultiWatching.js Merge tag 'v4.35.0' into next 2019-06-21 09:15:49 +02:00
NoEmitOnErrorsPlugin.js Add types to various plugins 2018-11-02 21:06:35 +01:00
NoModeWarning.js Merge tag 'v4.31.0' into next 2019-05-09 21:38:10 +02:00
NodeStuffPlugin.js add presentational dependencies which are cheaper, but allow only templating 2019-10-30 07:49:20 +01:00
NormalModule.js Introduce a Parser base class to improve Parser types 2019-11-30 01:36:28 +01:00
NormalModuleFactory.js pr comments 2019-12-16 13:40:04 +03:00
NormalModuleReplacementPlugin.js Update NormalModuleReplacementPlugin to new api 2019-06-16 20:09:54 +05:00
NullFactory.js report dependencies from resolver to the compilation 2019-01-08 15:14:25 +01:00
OptimizationStages.js Change stage values 2018-08-16 14:10:55 +02:00
OptionsApply.js format existing code 2018-07-30 21:29:21 +02:00
OptionsDefaulter.js Merge tag 'v4.36.0' into next 2019-07-17 16:02:33 +02:00
Parser.js move default object redirect logic into separate meta property 2019-12-06 11:12:26 +01:00
PrefetchPlugin.js Fix Compiler.hooks.make callbacks 2019-05-10 09:55:59 +02:00
ProgressPlugin.js improved progress and progress profiling 2019-12-20 16:34:51 +01:00
ProvidePlugin.js move BasicEvaluatedExpression and JavascriptParserHelpers to javascript directory 2019-10-22 09:27:52 +02:00
RawModule.js upgrade webpack-sources 2019-11-12 08:59:08 +01:00
RecordIdsPlugin.js refactor Cache 2018-09-27 13:20:19 +02:00
RequestShortener.js Merge tag 'v4.41.1' into next 2019-10-11 13:56:07 +02:00
RequireJsStuffPlugin.js move BasicEvaluatedExpression and JavascriptParserHelpers to javascript directory 2019-10-22 09:27:52 +02:00
ResolverFactory.js upgrade webpack-sources 2019-11-12 08:59:08 +01:00
RuntimeGlobals.js refactor chunk prefetching/preloading into separate plugin and runtime modules 2019-12-19 12:01:46 +01:00
RuntimeModule.js upgrade webpack-sources 2019-11-12 08:59:08 +01:00
RuntimePlugin.js remove module.id and loaded shortcuts and only include them when used 2019-12-06 11:09:43 +01:00
RuntimeTemplate.js Refactor how exportsType work 2019-12-06 11:13:08 +01:00
SelfModuleFactory.js Refactor how exportsType work 2019-12-06 11:13:08 +01:00
SetVarTemplatePlugin.js refactor: code 2019-10-22 00:14:05 +02:00
SingleEntryPlugin.js add SingleEntryPlugin as deprecated export 2018-08-15 21:10:35 +02:00
SizeFormatHelpers.js Type 'apply' method of plugins 2018-11-12 14:26:31 +01:00
SourceMapDevToolModuleOptionsPlugin.js Remove devtoolLineToLine and lineToLine options 2018-11-12 14:26:31 +01:00
SourceMapDevToolPlugin.js improve progress reporting 2019-11-12 16:11:13 +01:00
Stats.js fix: Make timeZone initial value undefined in lib/Stats.js 2019-10-15 00:19:27 +03:00
SystemTemplatePlugin.js refactor: code 2019-10-22 00:14:05 +02:00
Template.js add two chars to numberToIdentifier 2019-12-06 11:12:07 +01:00
TemplatedPathPlugin.js Merge pull request #9950 from webpack/dependabot/npm_and_yarn/prettier-1.19.1 2019-11-15 12:05:46 +01:00
UmdTemplatePlugin.js refactor: code 2019-10-22 00:14:05 +02:00
UnsupportedFeatureWarning.js remove unnecessary module arguments from module attached errors 2018-10-29 22:18:08 +01:00
UseStrictPlugin.js add presentational dependencies which are cheaper, but allow only templating 2019-10-30 07:49:20 +01:00
WarnCaseSensitiveModulesPlugin.js Add types to various plugins 2018-11-02 21:06:35 +01:00
WarnDeprecatedOptionPlugin.js Add types to various plugins 2018-11-02 21:06:35 +01:00
WarnNoModeSetPlugin.js Add types to various plugins 2018-11-02 21:06:35 +01:00
WatchIgnorePlugin.js rename filesModified -> modifiedFiles 2019-11-15 13:49:15 +01:00
Watching.js rename filesModified -> modifiedFiles 2019-11-15 13:49:15 +01:00
WebpackError.js update enhanced-resolve 2019-07-05 00:45:41 +02:00
WebpackOptionsApply.js refactor chunk prefetching/preloading into separate plugin and runtime modules 2019-12-19 12:01:46 +01:00
WebpackOptionsDefaulter.js fix misschange 2019-11-28 20:41:03 +03:00
buildChunkGraph.js remove return value of ChunkGraph.connectChunkAndModule 2019-11-10 21:05:26 +01:00
formatLocation.js fix unit test, add handling for line only location 2018-07-15 09:57:36 +02:00
index.js Introduce a Parser base class to improve Parser types 2019-11-30 01:36:28 +01:00
validateSchema.js type fixes 2019-10-16 16:49:52 +02:00
webpack.js fix: replaced some TODO with correct types and fixed some runtime issue 2019-11-28 22:48:01 +01:00