webpack/lib
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
..
asset allow to configure parsers and generators globally 2021-01-05 12:08:30 +01:00
async-modules fix some nitpicks with active state 2020-10-07 09:36:41 +02:00
cache add experimental lazy compilation 2021-01-21 17:39:56 +01:00
config add commonjsMagicComments options 2021-01-20 20:19:49 +01:00
container feat: support custom chunk name in container expose options 2021-01-28 09:00:05 -08:00
debug adjust timestamps when timestamp origin differ between process.hrtime and node.js inspector 2021-01-20 20:18:58 +01:00
dependencies avoid unnecessary conditions 2021-01-27 13:37:34 +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 add lazy compilation for entrypoints 2021-01-22 01:01:17 +01:00
ids compute chunk roots correctly when using transitive connections 2021-01-11 18:14:24 +01:00
javascript refactor: add semicolon 2021-01-27 15:47:04 +03:00
json Changed name of memorize function to memoize 2020-12-27 03:02:57 +05:30
library Merge pull request #11913 from snitin315/fix/error-message 2021-01-18 20:39:22 +01:00
logging Fix measurement formatting as per SI rules 2020-04-07 17:27:45 -05:00
node typings has been fixed 2021-01-04 12:04:42 +01:00
optimize avoid unnecessary conditions 2021-01-27 13:37:34 +01:00
performance prettier 2020-11-28 20:04:11 +01:00
prefetch add selective runtime requirements from startup logic which doesn't prevent inlining modules 2020-12-11 14:36:48 +01:00
rules add experiments.layers 2021-01-05 20:50:59 +01:00
runtime re-add chunkId to script loading when available 2021-01-06 10:08:40 +01:00
schemes split HttpUrlPlugin into two plugins for http and https 2020-07-06 17:45:45 +02:00
serialization add experimental lazy compilation 2021-01-21 17:39:56 +01:00
sharing Merge pull request #12132 from jakenorthey/feature/prioritize-eager-shared-modules 2021-01-18 17:00:21 +01:00
stats move responsibility of exports info and connected modules hashing from Dependencies to Module 2021-01-24 21:36:36 +01:00
util avoid allocation of inner map in RuntimeSpecMap when only a single runtime is used 2021-01-27 14:47:16 +01:00
wasm improve checkEnabled error messages 2021-01-05 11:34:57 +01:00
wasm-async Changed name of memorize function to memoize 2020-12-27 03:02:57 +05:30
wasm-sync update `@webassemblyjs` 2021-01-09 10:39:24 +01:00
web re-add chunkId to script loading when available 2021-01-06 10:08:40 +01:00
webworker add selective runtime requirements from startup logic which doesn't prevent inlining modules 2020-12-11 14:36:48 +01:00
APIPlugin.js add experiments.layers 2021-01-05 20:50:59 +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 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 refactor code generation and HMR plugin to generate real module hashes for HMR 2021-01-26 14:45:11 +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
CodeGenerationError.js refactor Module.source() and Module.getRuntimeRequirements() into Module.codeGeneration 2019-10-08 23:59:48 +02:00
CodeGenerationResults.js remove invalid property, avoid allocation of Set when only a single runtime is used 2021-01-27 14:48:28 +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 refactor code generation and HMR plugin to generate real module hashes for HMR 2021-01-26 14:45:11 +01:00
Compiler.js add experimental lazy compilation 2021-01-21 17:39:56 +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 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 Merge pull request #12289 from hodovani/patch-2 2021-01-15 14:16:23 +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 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 avoid unnecessary conditions 2021-01-27 13:37:34 +01:00
DependencyTemplate.js add ConcatenationScope 2020-09-15 12:34:50 +02:00
DependencyTemplates.js
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
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 remove Array.prototype.reduce calls to simplify code 2020-01-17 18:31:29 +01:00
EvalDevToolModulePlugin.js Merge pull request #12301 from happyhappyyay/burranch 2021-01-05 10:37:25 +01:00
EvalSourceMapDevToolPlugin.js Merge pull request #12301 from happyhappyyay/burranch 2021-01-05 10:37:25 +01:00
ExportsInfo.js move responsibility of exports info and connected modules hashing from Dependencies to Module 2021-01-24 21:36:36 +01: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 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 resolveBuildDependencies performance 2021-01-15 10:50:02 +01: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 avoid setting export target too often 2020-09-15 12:36:20 +02:00
FlagDependencyUsagePlugin.js fix newly found eslint problems 2020-11-26 11:13:17 +01: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 prettier 2020-11-28 20:04:11 +01:00
HookWebpackError.js Deprecate MainTemplate, ChunkTemplate, ModuleTemplate 2019-10-08 23:46:26 +02:00
HotModuleReplacementPlugin.js refactor code generation and HMR plugin to generate real module hashes for HMR 2021-01-26 14:45:11 +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
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 Changed name of memorize function to memoize 2020-12-27 03:02:57 +05:30
Module.js refactor code generation and HMR plugin to generate real module hashes for HMR 2021-01-26 14:45:11 +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 fix caching crash in ConcatenatedModule 2021-01-08 15:44:26 +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 avoid allocation of meta info for dependencies when unused 2021-01-27 13:37:34 +01:00
ModuleGraphConnection.js avoid unnecessary conditions 2021-01-27 13:37:34 +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 ignore some timing-depend code parts for coverage 2020-04-21 16:29:13 +02:00
ModuleRestoreError.js
ModuleStoreError.js Create error class for cache store errors 2019-12-16 21:06:27 +01:00
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 use typescript 4.2 2021-01-13 21:40:39 +01: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
NoModeWarning.js prettier 2020-11-28 20:04:11 +01:00
NodeStuffPlugin.js improve target options 2020-09-10 11:42:09 +02:00
NormalModule.js avoid allocation of warning marker weak set when unused 2021-01-27 13:36:03 +01:00
NormalModuleFactory.js add commonjsMagicComments options 2021-01-20 20:19:49 +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 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 add resolveByProperty to cleverMerge 2021-01-06 10:14:20 +01:00
RuntimeGlobals.js re-add chunkId to script loading when available 2021-01-06 10:08:40 +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 generate code that executes depending on runtime 2020-10-27 06:30:49 +01:00
RuntimeTemplate.js add selective runtime requirements from startup logic which doesn't prevent inlining modules 2020-12-11 14:36:48 +01:00
SelfModuleFactory.js Refactor how exportsType work 2019-12-06 11:13:08 +01:00
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 allow to process assets that are added during processAssets 2020-11-26 14:00:21 +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 refactor code generation and HMR plugin to generate real module hashes for HMR 2021-01-26 14:45:11 +01:00
TemplatedPathPlugin.js fix problem when HMR and different runtimes 2020-11-28 13:53:32 +01: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 conflicting real imports and type imports 2020-11-26 10:02:59 +01:00
WebpackError.js remove Array.prototype.reduce calls to simplify code 2020-01-21 09:45:25 +01:00
WebpackIsIncludedPlugin.js ignore error/warning when module does not exists 2020-04-14 02:05:02 +03:00
WebpackOptionsApply.js nitpicks for tests 2021-01-22 10:24:25 +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 add warning when invalid dependencies are reported by loaders/plugins 2021-01-07 13:31:16 +01:00
validateSchema.js reexport the schema validation function from schema-utils 2020-12-17 10:41:28 +01:00
webpack.js fix conflicting real imports and type imports 2020-11-26 10:02:59 +01:00