(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/check
sourceMap
flag to loadersmodule.hot.accept
id
in context(2014-08-25)
assetsByChunkName
[name]
__webpack_hash__
(2014-05-27)
(2014-05-17)
externals
optionrequire
is now __webpack_require__
[hash]
in output.path
require
with __non_webpack_require__
node-webkit
target.json
is a default extension (similar to node.js)define
-> DefinePluging
prefetch
-> PrefetchPlugin
provide
-> ProvidePlugin
hot
-> HotModuleReplacementPlugin
optimize.dedupe
-> optimize.DedupePlugin
optimize.minimize
-> optimize.UglifyJsPlugin
optimize.maxChunks
-> optimize.LimitChunkCountPlugin
optimize.minChunkSize
-> optimize.MinChunkSizePlugin
optimize.occurenceOrder
-> optimize.OccurenceOrderPlugin
require("webpack").DefinePlugin
dependencies.LabeledModulesPlugin
ResolverPlugin
eval-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.loadModule
unsafeCache
and noParse
option for performance--records-path
--devtool source-map
and --devtool inline-source-map
--optimize-occurence-order
--optimize-dedupe
Small changes:
--profile
--prefetch
[experimental]BannerPlugin
[chunkhash]
[experimental]hashDigestLength
…
modulesDirectories
, separable
, library
options.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.maxChunks
loaderContext.depencency
is more relaxed and don’t need to be called before readingloader.seperable
cannot combined withloaderContext.emitFile
and loaderContext.emitSubStats
loaderContext.options.events
loaderContext.options.resolve
loaderContext.resolve
and loaderContext.resolve.sync
loader.seperableIfResolve
loader.seperableIfResolve
cannot combined withloaderContext.emitFile
and loaderContext.emitSubStats
loaderContext.options.events
profile
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-enum
context
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.emitWarning
require-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.