webpack/lib
Tobias Koppers aca0ee5073
Merge pull request #13137 from webpack/feature/public-path-entry
allow to specify `publicPath` for each entrypoint
2021-04-14 18:22:59 +02:00
..
asset add HMR test case and fix problems with it 2021-04-14 16:03:59 +02: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 allow to specify `publicPath` for each entrypoint 2021-04-14 16:38:01 +02:00
container attach the chunk graph to RuntimeModules 2021-04-14 12:26:35 +02:00
debug adjust timestamps when timestamp origin differ between process.hrtime and node.js inspector 2021-01-20 20:18:58 +01:00
dependencies Merge pull request #13134 from webpack/bugfix/hmr-in-execute-module 2021-04-14 16:55:37 +02: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 ensure that entrypoints are always re-executed when updated 2021-04-07 17:37:06 +02:00
ids further optimizations 2021-02-23 12:03:26 +01:00
javascript add interceptModuleExecution, module cache and improve error messages 2021-04-14 14:37:00 +02:00
json fix backslash-escaping string replace 2021-02-10 18:25:18 +01:00
library add experimental support for build time execution 2021-04-12 12:27:54 +02:00
logging improvements 2021-04-06 15:20:27 +02:00
node attach the chunk graph to RuntimeModules 2021-04-14 12:26:35 +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 experimental support for build time execution 2021-04-12 12:27:54 +02:00
rules add experiments.layers 2021-01-05 20:50:59 +01:00
runtime Merge pull request #13137 from webpack/feature/public-path-entry 2021-04-14 18:22:59 +02:00
schemes split HttpUrlPlugin into two plugins for http and https 2020-07-06 17:45:45 +02:00
serialization add support for serializing circular values 2021-04-14 08:56:32 +02:00
sharing attach the chunk graph to RuntimeModules 2021-04-14 12:26:35 +02:00
stats add experimental support for build time execution 2021-04-12 12:27:54 +02:00
util add caching on ModuleGraph 2021-04-14 09:11:23 +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 attach the chunk graph to RuntimeModules 2021-04-14 12:26:35 +02:00
web attach the chunk graph to RuntimeModules 2021-04-14 12:26:35 +02:00
webworker attach the chunk graph to RuntimeModules 2021-04-14 12:26:35 +02: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 only warn when there is really a casing difference 2021-04-12 12:27:54 +02: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 Revert "dispose code generation results after sealing the compilation" 2021-04-09 19:50:13 +02:00
CommentCompilationWarning.js
CompatibilityPlugin.js avoid unnecessary replacement of `__webpack_require__` when nesting bundles 2021-01-04 15:33:25 +01:00
Compilation.js Merge pull request #13134 from webpack/bugfix/hmr-in-execute-module 2021-04-14 16:55:37 +02:00
Compiler.js Revert "dispose code generation results after sealing the compilation" 2021-04-09 19:50:13 +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 invalidates modules when new defines are added 2021-04-12 12:23:51 +02: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 Split options defaulting in normalization and defaults 2020-02-17 19:12:54 +01:00
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 allow to specify `publicPath` for each entrypoint 2021-04-14 16:38:01 +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 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 add caching on ModuleGraph 2021-04-14 09:11:23 +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 DefinePlugin invalidates modules when new defines are added 2021-04-12 12:23:51 +02: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 add caching on ModuleGraph 2021-04-14 09:11:23 +02: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 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 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 DefinePlugin invalidates modules when new defines are added 2021-04-12 12:23:51 +02:00
NormalModuleFactory.js add support for a pseudo `.webpack[type]` extension allows to set module type when no other type is set from module.rules 2021-04-12 12:27:54 +02: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 make RequestShortener simpler, only use relative path 2020-01-15 18:48:37 +01:00
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 attach the chunk graph to RuntimeModules 2021-04-14 12:26:35 +02:00
RuntimePlugin.js allow to specify `publicPath` for each entrypoint 2021-04-14 16:38:01 +02: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 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 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 only warn when there is really a casing difference 2021-04-12 12:27:54 +02:00
WarnDeprecatedOptionPlugin.js
WarnNoModeSetPlugin.js
WatchIgnorePlugin.js update type annotations 2021-01-11 22:15:31 +01:00
Watching.js make sure that invalid event is only reported once 2021-04-09 17:51:58 +02: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 add experiments.executeModule 2021-04-12 12:27:55 +02: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 #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