webpack/lib
Tobias Koppers 18495151b8 handle the case when execution order in a concatenated module is runtime-dependent
fix #11863
2020-10-29 17:53:56 +01:00
..
asset add asset info for `sourceFilename` and `javascriptModule` 2020-10-22 10:47:23 +02:00
async-modules fix some nitpicks with active state 2020-10-07 09:36:41 +02:00
cache add "snapshot" configuration to allow to configure how snapshots are created 2020-08-26 01:27:13 +02:00
config add optimization.sideEffects: "flag" and use this by default 2020-10-27 06:50:07 +01:00
container add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
debug chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
dependencies unused values should be null to support super classes 2020-10-27 11:43:43 +01:00
electron Fix require handling with electron; fixes #11599 2020-10-08 01:06:31 +02:00
errors detect cycles during this.loadModule from loader 2019-12-20 12:50:55 +01:00
hmr improve test case, convert trace into warning 2020-09-27 11:26:32 +02:00
ids Merge pull request #11582 from webpack/update-schema-utils 2020-10-07 10:30:11 +02:00
javascript add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
json chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
library new Worker() support 2020-09-08 07:37:20 +02:00
logging Fix measurement formatting as per SI rules 2020-04-07 17:27:45 -05:00
node improve target options 2020-09-10 11:42:09 +02:00
optimize handle the case when execution order in a concatenated module is runtime-dependent 2020-10-29 17:53:56 +01:00
performance fix jsdoc documentations 2020-04-28 19:42:58 +02:00
prefetch refactor chunk prefetching/preloading into separate plugin and runtime modules 2019-12-19 12:01:46 +01:00
rules improve handling of null values and prototype properties 2020-07-17 15:41:30 +02:00
runtime generate code that executes depending on runtime 2020-10-27 06:30:49 +01:00
schemes split HttpUrlPlugin into two plugins for http and https 2020-07-06 17:45:45 +02:00
serialization reduce number of small buffers in BinaryMiddleware 2020-08-24 18:16:56 +02:00
sharing chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
stats add asset info for `sourceFilename` and `javascriptModule` 2020-10-22 10:47:23 +02:00
util handle the case when execution order in a concatenated module is runtime-dependent 2020-10-29 17:53:56 +01:00
wasm improve target options 2020-09-10 11:42:09 +02:00
wasm-async avoid using getChunkModuleMaps as it doesn't support different modules per runtime 2020-07-28 17:16:32 +02:00
wasm-sync fix some nitpicks with active state 2020-10-07 09:36:41 +02:00
web refactor wasm loading from target into output.wasmLoading option 2020-09-09 11:20:37 +02:00
webworker new Worker() support 2020-09-08 07:37:20 +02:00
APIPlugin.js improve hashing of runtime modules that need a full hash 2020-09-01 18:31:29 +02: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 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 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 add provide and mergeEtags to CacheFacade 2020-08-19 11:25:24 +02:00
CaseSensitiveModulesWarning.js chore: setup cspell 2020-03-12 19:51:26 +03:00
Chunk.js new Worker() support 2020-09-08 07:37:20 +02:00
ChunkGraph.js generate code that executes depending on runtime 2020-10-27 06:30:49 +01:00
ChunkGroup.js new Worker() support 2020-09-08 07:37:20 +02:00
ChunkRenderError.js
ChunkTemplate.js add more types 2020-08-02 23:47:54 +03:00
CodeGenerationError.js refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration 2019-10-08 23:59:48 +02:00
CodeGenerationResults.js polish, types 2020-07-27 22:41:04 +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 merge multiple import statements with different conditions correctly 2020-10-27 06:48:54 +01:00
Compiler.js re-check immutable state when removing a query string 2020-10-26 16:28:52 +01: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
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 Add types to various plugins 2018-11-02 21:06:35 +01:00
ContextModule.js add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
ContextModuleFactory.js fix bug for maxCallStack in ContextModuleFactory 2020-09-13 18:13:52 +05:30
ContextReplacementPlugin.js add support for resource fragments 2020-07-03 17:03:15 +02:00
DefinePlugin.js replace output.ecmaVersion with output.environment and more detailed flags 2020-09-10 11:12:28 +02:00
DelegatedModule.js add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
DelegatedModuleFactoryPlugin.js enable mjs experiment 2020-09-07 23:15:24 +02:00
DelegatedPlugin.js NullFactory is not required 2019-08-07 16:14:03 +02:00
DependenciesBlock.js refactor used exports analysis, hashing, code generation, optimizations 2020-07-27 22:40:44 +02:00
Dependency.js merge multiple import statements with different conditions correctly 2020-10-27 06:48:54 +01:00
DependencyTemplate.js add ConcatenationScope 2020-09-15 12:34:50 +02:00
DependencyTemplates.js Merge tag 'v4.36.0' into next 2019-07-17 16:02:33 +02:00
DllEntryPlugin.js Split options defaulting in normalization and defaults 2020-02-17 19:12:54 +01:00
DllModule.js polish, types 2020-07-27 22:41:04 +02:00
DllModuleFactory.js report dependencies from resolver to the compilation 2019-01-08 15:14:25 +01:00
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 fix incorrect type 2020-10-12 09:45:19 +02: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 remove Array.prototype.reduce calls to simplify code 2020-01-17 18:31:29 +01:00
EvalDevToolModulePlugin.js fix jsdoc documentations 2020-04-28 19:42:58 +02:00
EvalSourceMapDevToolPlugin.js add more types 2020-08-02 23:47:54 +03:00
ExportsInfo.js build chunk graph with runtime awareness 2020-10-16 11:47:38 +02:00
ExportsInfoApiPlugin.js fix jsdoc documentations 2020-04-28 19:42:58 +02:00
ExternalModule.js add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
ExternalModuleFactoryPlugin.js add support for async externals 2020-05-19 17:25:43 +02:00
ExternalsPlugin.js add support for async externals 2020-05-19 17:25:43 +02:00
FileSystemInfo.js fix incorrect iteration 2020-09-18 21:47:46 +02:00
FlagAllModulesAsUsedPlugin.js fix dependOn behavior with runtimes, fix runtime passing by entry 2020-07-30 11:18:09 +02:00
FlagDependencyExportsPlugin.js avoid setting export target too often 2020-09-15 12:36:20 +02:00
FlagDependencyUsagePlugin.js build chunk graph with runtime awareness 2020-10-16 11:47:38 +02:00
FlagEntryExportAsUsedPlugin.js refactor used exports analysis, hashing, code generation, optimizations 2020-07-27 22:40:44 +02:00
FlagUsingEvalPlugin.js fix jsdoc documentations 2020-04-28 19:42:58 +02:00
Generator.js refactor module concatenation to address discovered bugs/edge cases 2020-09-15 12:36:02 +02:00
GraphHelpers.js
HarmonyLinkingError.js
HookWebpackError.js Deprecate MainTemplate, ChunkTemplate, ModuleTemplate 2019-10-08 23:46:26 +02:00
HotModuleReplacementPlugin.js add missing chunk groups to HotUpdateChunks 2020-09-25 10:53:14 +02:00
HotUpdateChunk.js fix incorrect disposing of modules during HMR 2020-09-08 10:25:41 +02: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
LibManifestPlugin.js new Worker() support 2020-09-08 07:37:20 +02: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 remove unused code 2020-08-19 15:08:34 +02:00
Module.js add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
ModuleBuildError.js add more types 2020-08-02 23:47:54 +03:00
ModuleDependencyError.js add more types 2020-08-02 23:47:54 +03:00
ModuleDependencyWarning.js add more types 2020-08-02 23:47:54 +03:00
ModuleError.js add more types 2020-08-02 23:47:54 +03:00
ModuleFactory.js improve compatibly with node.js ESM 2020-07-17 13:58:29 +02:00
ModuleFilenameHelpers.js Upgrade to Prettier 2 2020-03-28 18:20:24 -04:00
ModuleGraph.js refactor module concatenation to address discovered bugs/edge cases 2020-09-15 12:36:02 +02:00
ModuleGraphConnection.js fix some nitpicks with active state 2020-10-07 09:36:41 +02:00
ModuleInfoHeaderPlugin.js store multiple targets per ExportInfo 2020-08-12 21:41:03 +02: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 ignore some timing-depend code parts for coverage 2020-04-21 16:29:13 +02: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 Fix ModuleTemplate.hooks.hash deprecation message 2020-10-12 21:39:43 +09:00
ModuleWarning.js add more types 2020-08-02 23:47:54 +03:00
MultiCompiler.js call invalid hook also when manually invalidating watching 2020-07-15 19:34:23 +02:00
MultiStats.js replace hash, version, time and builtAt with build summary at the bottom 2020-09-03 22:12:52 +02:00
MultiWatching.js do cache related tasks after calling handler in watching 2020-08-01 09:00:17 +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 improve target options 2020-09-10 11:42:09 +02:00
NormalModule.js add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
NormalModuleFactory.js add breaking change info for fullySpecified resolving 2020-09-15 15:12:15 +02: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
OptionsApply.js
Parser.js add more types 2020-08-02 23:47:54 +03:00
PrefetchPlugin.js Fix Compiler.hooks.make callbacks 2019-05-10 09:55:59 +02:00
ProgressPlugin.js fix a unneeded cache store when using child compilers 2020-10-28 13:43:39 +01:00
ProvidePlugin.js fix called variables with ProvidePlugin 2020-10-10 02:52:43 +02:00
RawModule.js add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
RecordIdsPlugin.js record chunk ids for unnamed chunks in the entrypoint chunk group 2020-04-25 00:44:02 +02:00
RequestShortener.js make RequestShortener simpler, only use relative path 2020-01-15 18:48:37 +01:00
RequireJsStuffPlugin.js move BasicEvaluatedExpression and JavascriptParserHelpers to javascript directory 2019-10-22 09:27:52 +02:00
ResolverFactory.js type fixes 2020-07-15 14:13:33 +02:00
RuntimeGlobals.js generate code that executes depending on runtime 2020-10-27 06:30:49 +01:00
RuntimeModule.js add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
RuntimePlugin.js generate code that executes depending on runtime 2020-10-27 06:30:49 +01:00
RuntimeTemplate.js fix crash because for invalid type 2020-10-27 06:50:10 +01:00
SelfModuleFactory.js Refactor how exportsType work 2019-12-06 11:13:08 +01:00
SingleEntryPlugin.js
SizeFormatHelpers.js Type 'apply' method of plugins 2018-11-12 14:26:31 +01:00
SourceMapDevToolModuleOptionsPlugin.js add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
SourceMapDevToolPlugin.js add useSimpleSourceMap flag to enable/disable OriginalSource for generated code 2020-10-26 16:33:38 +01:00
Stats.js replace hash, version, time and builtAt with build summary at the bottom 2020-09-03 22:12:52 +02:00
Template.js add asset info for `sourceFilename` and `javascriptModule` 2020-10-22 10:47:23 +02:00
TemplatedPathPlugin.js calculate real content hash for assets after asset processing 2020-08-18 22:07:24 +02:00
UnhandledSchemeError.js refactor scheme handling into plugins 2020-07-03 17:01:02 +02:00
UnsupportedFeatureWarning.js remove unnecessary module arguments from module attached errors 2018-10-29 22:18:08 +01:00
UseStrictPlugin.js fix jsdoc documentations 2020-04-28 19:42:58 +02: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 chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
Watching.js chore: reorder statement 2020-09-19 09:55:02 +05:30
WebpackError.js remove Array.prototype.reduce calls to simplify code 2020-01-21 09:45:25 +01:00
WebpackOptionsApply.js add optimization.sideEffects: "flag" and use this by default 2020-10-27 06:50:07 +01:00
WebpackOptionsDefaulter.js Split options defaulting in normalization and defaults 2020-02-17 19:12:54 +01:00
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 #11645 from wood1986/features/expose-entry-fn 2020-10-13 14:25:45 +02:00
validateSchema.js chore(deps): update `schema-utils` 2020-10-05 21:58:54 +03:00
webpack.js revert error and add deprecation instead 2020-09-29 20:21:59 +02:00