(2015-11-20)
module module context-independentumdNamedDefine option for named AMD--watch-stdin to watch for stdin closing(2015-04-29)
(2015-03-11)
(2015-02-24)
(2015-01-21)
async parameter to CommonsChunksPlugin to create a async loaded commons chunksAPI: added EnvironmentPlugin
API: support loading of multiple chunks in a dependency block
node.Buffer optionnode.setImmediate(2014-12-28)
NoErrorsPlugin, which doesn’t emit a bundle on errorsmodule.hot.accept/checksourceMap flag to loadersmodule.hot.acceptid in context(2014-08-25)
assetsByChunkName[name]__webpack_hash__(2014-05-27)
(2014-05-17)
externals optionrequire is now __webpack_require__[hash] in output.pathrequire with __non_webpack_require__node-webkit target.json is a default extension (similar to node.js)define -> DefinePlugingprefetch -> PrefetchPluginprovide -> ProvidePluginhot -> HotModuleReplacementPluginoptimize.dedupe -> optimize.DedupePluginoptimize.minimize -> optimize.UglifyJsPluginoptimize.maxChunks -> optimize.LimitChunkCountPluginoptimize.minChunkSize -> optimize.MinChunkSizePluginoptimize.occurenceOrder -> optimize.OccurenceOrderPluginrequire("webpack").DefinePlugindependencies.LabeledModulesPluginResolverPlugineval-source-map devtooltarget option--display-origins to show chunk origins--display-error-details to show resolving logrequire.e if not neededthis in modules is now exports (if this breaks a library, try prefixing imports?this=>window!)--hot (web and node target) [experimental]define optionsourceMappingURL and sourceURL syntaxCommonsChunkPlugin--profile --progress now display process timingsloaderContext.loadModuleunsafeCache and noParse option for performance--records-path--devtool source-map and --devtool inline-source-map--optimize-occurence-order--optimize-dedupeSmall changes:
--profile--prefetch [experimental]BannerPlugin[chunkhash] [experimental]hashDigestLength…
modulesDirectories, separable, libraryoptions.minimize and now be also a object, which is passed to UglifyJs2.Compressor"web" to default package mains, added "webLoader" to default loader package mains"webpack" from default loader package mainsoptions.maxChunksloaderContext.depencency is more relaxed and don’t need to be called before readingloader.seperable cannot combined withloaderContext.emitFile and loaderContext.emitSubStats loaderContext.options.eventsloaderContext.options.resolveloaderContext.resolve and loaderContext.resolve.syncloader.seperableIfResolveloader.seperableIfResolve cannot combined withloaderContext.emitFile and loaderContext.emitSubStats loaderContext.options.eventsprofile option (and --profile)workers option (and --workers)closeWorkers optionworkers is used:options must be JSON.stringify-able. Except options.events.message, stack and value of toString is passed to main process.workersNoResolve option. Workers should not used while resolving.Cache object for options.cache has changed.module is emited after the module is finished.context is now named context-enumcontext which is emited after the context is finished.dependency is removed. Use stats.dependencies for this.loader is removed. Use stats.loaders for this.stats.contexts as a list of contexts.stats...modules[..].dependencies for as list of files which affect the module’s content.stats...modules[..].loaders for as list of loaders which affect the module’s content.stats.modulesPerChunk, it is useless and was deprecated.stats.chunkNameFiles which export the files for named chunksstats.startTime, timestamp as numberwatch-end if watch mode have to end (i. e. loader changed). You may restart it after clearing require.cache.loaderContext.loaderType as one of loader, preLoader or postLoader.loaderContext.currentLoaders as list of all loader of the current type.loaderContext.loaderIndex as index of current loader in loaderContext.currentLoaders.loaderContext.loaders, loaderContext.preLoaders and loaderContext.postLoaders.loaderContext.emitError and loaderContext.emitWarningrequire-polyfill, use enhanced-require.script-src-prefix.emitFile.options is not longer optional.loader.seperable (see spec).loaderContext.resolve is now async, even in sync mode.loaderContext.resolve.sync as sync version.