webpack/webpack-dev-middleware
### [`v3.0.0`](https://github.com/webpack/webpack-dev-middleware/releases/v3.0.0)
#### Updates
- Webpack 4 (#267)
- remove watchOffset option in favor of time-fix-plugin
#### Breaking Changes
- Introduces full support for webpack v4 and removes support for lesser versions.
- The `watchOffset` option has been removed and the README has been updated with alternative means of accomplishing the same result for this module and webpack v4.
---
### [`v3.1.0`](https://github.com/webpack/webpack-dev-middleware/releases/v3.1.0)
#### Bugfixes
- On windows path spaces should resolve to %20 (#288)
- fixes #282. credit @cexoso. in certain edge situations res.locals is undefined (d26c67c)
#### Features
- Allow Writing Files to Disk (#287)
---
### [`v3.1.1`](https://github.com/webpack/webpack-dev-middleware/releases/v3.1.1)
#### Bugfixes
- fix(package): add chalk to peerDeps (#292)
---
### [`v3.1.2`](https://github.com/webpack/webpack-dev-middleware/releases/v3.1.2)
#### Updates
- refactor: use chalk from webpack-log (#293)
---
### [`v3.1.3`](https://github.com/webpack/webpack-dev-middleware/releases/v3.1.3)
#### Bugfixes
- Excluded outputPath from URI escaping to fix #297. (#303)
- fix: fixes #290 - MultiCompiler exception with writeToDisk (#301)
---
webpack/webpack
### [`v4.0.0`](https://github.com/webpack/webpack/releases/v4.0.0)
### Big changes
* Environment
* Node.js 4 is no longer supported. Source Code was upgraded to a higher ecmascript version.
* Usage
* You have to choose (`mode` or `--mode`) between two modes now: production or development
* production enables all kind of optimizations to generate optimized bundles
* development enables comments and hint for development and enables the eval devtool
* production doesn't support watching, development is optimized for fast incremental rebuilds
* production also enables module concatenating (Scope Hoisting)
* You can configure this in detail with the flags in `optimization.*` (build your custom mode)
* `process.env.NODE_ENV` are set to production or development (only in built code, not in config)
* There is a hidden `none` mode which disables everything
* Syntax
* `import()` always returns a namespace object. CommonJS modules are wrapped into the default export
* This probably breaks your code, if you used to import CommonJs with `import()`
* Configuration
* You no longer need to use these plugins:
* `NoEmitOnErrorsPlugin` -> `optimization.noEmitOnErrors` (on by default in production mode)
* `ModuleConcatenationPlugin` -> `optimization.concatenateModules` (on by default in production mode)
* `NamedModulesPlugin` -> `optimization.namedModules` (on by default in develoment mode)
* `CommonsChunkPlugin` was removed -> `optimization.splitChunks`, `optimization.runtimeChunk`
* JSON
* webpack now handles JSON natively
* You may need to add `type: "javascript/auto"` when transforming JSON via loader to JS
* Just using JSON without loader should still work
* allows to import JSON via ESM syntax
* unused exports elimination for JSON modules
* Optimization
* Upgrade uglifyjs-webpack-plugin to v1
* ES15 support
### Big features
* Modules
* webpack now supports these module types:
* javascript/auto: (The default one in webpack 3) Javascript module with all module systems enabled: CommonJS, AMD, ESM
* javascript/esm: EcmaScript modules, all other module system are not available
* javascript/dynamic: Only CommonJS and, EcmaScript modules are not available
* json: JSON data, it's available via require and import
* webassembly/experimental: WebAssembly modules (currently experimental)
* `javascript/esm` handles ESM more strictly compared to `javascript/auto`:
* Imported names need to exist on imported module
* Dynamic modules (non-esm, i. e. CommonJs) can only imported via `default` import, everything else (including namespace import) emit errors
* In `.mjs` modules are `javascript/esm` by default
* WebAssembly modules
* can import other modules (JS and WASM)
* Exports from WebAssembly modules are validated by ESM import
* You'll get a warning/error when trying to import a non-existing export from WASM
* can only be used in async chunks. They doesn't work in initial chunks (would be bad for web performance)
* Import modules using WASM via `import()`
* This is an experimental feature and subject of change
* Optimization
* `sideEffects: false` is now supported in package.json
* `sideEffects` in package.json also supports glob expressions and arrays of glob expressions
* Instead of a JSONP function a JSONP array is used -> async script tag support, order no longer matter
* New `optimization.splitChunks` option was introduced
Details: https://gist.github.com/sokra/1522d586b8e5c0f5072d7565c2bee693
* Dead branches are now removed by webpack itself
* Before: Uglify removed the dead code
* Now: webpack removes the dead code (in some cases)
* This prevents crashing when `import()` occur in a dead branch
* Syntax
* `webpackInclude` and `webpackExclude` are supported by the magic comment for `import()`. They allow to filter files when using a dynamic expression.
* Using `System.import()` now emits a warning
* You can disable the warning with `Rule.parser.system: true`
* You can disable `System.import` with `Rule.parser.system: false`
* Configuration
* Resolving can now be configured with `module.rules[].resolve`. It's merged with the global configuration.
* `optimization.minimize` has been added to switch minimizing on/off
* By default: on in production mode, off in development mode
* `optimization.minimizer` has been added to configurate minimizers and options
* Usage
* Some Plugin options are now validated
* CLI has been move to webpack-cli, you need to install `webpack-cli` to use the CLI
* The ProgressPlugin (`--progress`) now displays plugin names
* At least for plugins migrated to the new plugin system
* Performance
* UglifyJs now caches and parallizes by default
* Multiple performance improvements, especially for faster incremental rebuilds
* performance improvement for RemoveParentModulesPlugin
* Stats
* Stats can display modules nested in concatenated modules
### Features
* Configuration
* Module type is automatically choosen for mjs, json and wasm extensions. Other extensions need to be configured via `module.rules[].type`
* Incorrect `options.dependencies` configurations now throw error
* `sideEffects` can be overriden via module.rules
* `output.hashFunction` can now be a Constructor to a custom hash function
* You can provide a non-cryto hash function for performance reasons
* add `output.globalObject` config option to allow to choose the global object reference in runtime exitCode
* Runtime
* Error for chunk loading now includes more information and two new properties `type` and `request`.
* Devtool
* remove comment footer from SourceMaps and eval
* add support for `include` `test` and `exclude` to the eval source map devtool plugin
* Performance
* webpacks AST can be passed directly from loader to webpack to avoid extra parsing
* Unused modules are no longer unnecessarly concatenated
* Add a ProfilingPlugin which write a (Chrome) profile file which includes timings of plugins
* Migrate to using `for of` instead of `forEach`
* Migrate to using `Map` and `Set` instead of Objects
* Migrate to using `includes` instead of `indexOf`
* Replaced some RegExp with string methods
* Queue don't enqueues the same job twice
* Use faster md4 hash for hashing by default
* Optimization
* When using more than 25 exports mangled export names are shorter.
* script tags are no longer `text/javascript` and `async` as this are the default values (saves a few bytes)
* The concatenated module now generates a bit less code
* constant replacements now don't need `__webpack_require__` and argument is omitted
* Defaults
* webpack now looks for the `.wasm`, `.mjs`, `.js` and `.json` extensions in this order
* `output.pathinfo` is now on by default in develoment mode
* in-memory caching is now off by default in production
* `entry` defaults to `./src`
* `output.path` defaults to `./dist`
* Use `production` defaults when omiting the `mode` option
* Usage
* Add detailed progress reporting to SourceMapDevToolPlugin
* removed plugins now give a useful error message
* Stats
* Sizes are now shown in kiB instead of kB in Stats
* entrypoints are now shows by default in Stats
* chunks now display `<{parents}>` `>{children}<` and `={siblings}=` in Stats
* add `buildAt` time to stats
* stats json now includes the output path
* Syntax
* A resource query is supported in context
* Referencing entry point name in `import()` now emits a error instead of a warning
* Upgraded to acorn 5 and support ES 2018
* Plugins
* `done` is now an async hook
### Bugfixes
* Generated comments no longer break on `*/`
* webpack no longer modifies the passed options object
* Compiler "watch-run" hook now has the Compiler as first parameter
* add `output.chunkCallbackName` to the schema to allow configurating WebWorker template
* Using `module.id/loaded` now correctly bails out of Module Concatentation (Scope Hoisting)
* OccurenceOrderPlugin now sorts modules in correct order (instead of reversed)
* timestamps for files are read from watcher when calling `Watching.invalidate`
* fix incorrect `-!` behavior with post loaders
* add `run` and `watchRun` hooks for `MultiCompiler`
* `this` is now undefined in ESM
* VariableDeclaration are correctly identified as `var`, `const` or `let`
* Parser now parse the source code with the correct source type (module/script) when the module type `javascript/dynamic` or `javascript/module` is used.
* don't crash on missing modules with `buildMeta` of null
* add `original-fs` module for electron targets
* HMRPlugin can be added to the Compiler outside of `plugins`
### Internal changes
* Replaced `plugin` calls with `tap` calls (new plugin system)
* Migrated many deprecated plugins to new plugin system API
* added `buildMeta.exportsType: "default"` for json modules
* Remove unused methods from Parser (parserStringArray, parserCalculatedStringArray)
* Remove ability to clear BasicEvaluatedExpression and to have multiple types
* Buffer.from instead of new Buffer
* Avoid using forEach and use for of instead
* Use `neo-async` instead of `async`
* Update tapable and enhanced-resolve dependencies to new major versions
* Use prettier
### Removed features
* removed `module.loaders`
* removed `loaderContext.options`
* removed `Compilation.notCacheable` flag
* removed `NoErrorsPlugin`
* removed `Dependency.isEqualResource`
* removed `NewWatchingPlugin`
* removed `CommonsChunkPlugin`
### Breaking changes for plugins/loaders
* new plugin system
* `plugin` method is backward-compatible
* Plugins should use `Compiler.hooks.xxx.tap(, fn)` now
* New major version of enhanced-resolve
* Templates for chunks may now generate multiple assets
* `Chunk.chunks/parents/blocks` are no longer Arrays. A Set is used internally and there are methods to access it.
* `Parser.scope.renames` and `Parser.scope.definitions` are no longer Objects/Arrays, but Map/Sets.
* Parser uses `StackedSetMap` (LevelDB-like datastructure) instead of Arrays
* `Compiler.options` is no longer set while applying plugins
* Harmony Dependencies has changed because of refactoring
* `Dependency.getReference()` may now return a `weak` property. `Dependency.weak` is now used by the `Dependency` base class and returned in the base impl of `getReference()`
* Constructor arguments changed for all `Module`s
* Merged options into options object for `ContextModule` and `resolveDependencies`
* Changed and renamed dependencies for `import()
* Moved `Compiler.resolvers` into `Compiler.resolverFactory` accessible with plugins
* `Dependency.isEqualResource` has been replaced with `Dependency.getResourceIdentifier`
* Methods on `Template` are now static
* A new RuntimeTemplate class has been added and `outputOptions` and `requestShortener` has been moved to this class
* Many methods has been updated to use the RuntimeTemplate instead
* We plan to move code which accesses the runtime to this new class
* `Module.meta` has been replaced with `Module.buildMeta`
* `Module.buildInfo` and `Module.factoryMeta` have been added
* Some properties of `Module` have been moved into the new objects
* added `loaderContext.rootContext` which points to the `context` options. Loaders may use it to make stuff relative to the application root.
* add `this.hot` flag to loader context when HMR is enabled
* `buildMeta.harmony` has been replaced with `buildMeta.exportsType: "namespace`
* The chunk graph has changed:
* Before: Chunks were connected with parent-child-relationships.
* Now: ChunkGroups are connected with parent-child-relationships. ChunkGroups contain Chunks in order.
* Before: AsyncDependenciesBlocks reference a list of Chunks in order.
* Now: AsyncDependenciesBlocks reference a single ChunkGroup.
* file/contextTimestamps are Maps now
* `map/foreach` `Chunks/Modules/Parents` methods are now deprecated/removed
* NormalModule accept options object in Constructor
* Added required generator argument for NormalModule
* Added `createGenerator` and `generator` hooks for NormalModuleFactory to customize code generation
* Allow to customize render manifest for Chunks via hooks
---
### [`v4.0.1`](https://github.com/webpack/webpack/releases/v4.0.1)
### Features
* add `version` property to webpack exports
### Bugfixes
* `import()` with CJS now gives correct exports
* Module concatenation bailout messages now point to correct module
---
### [`v4.1.0`](https://github.com/webpack/webpack/releases/v4.1.0)
### Features
* add `filename` option to `optimization.splitChunks` to modify the filename template for splitted chunks
* allow modules which doesn't emit code into the bundle
### Bugfixes
* watchpack updated to 1.5.0
* performance fix for Module Concatenation (v8 bug)
* fix using `this.xxx` in `ProvidePlugin`
---
### [`v4.1.1`](https://github.com/webpack/webpack/releases/v4.1.1)
### Features
* Stats now displays the number of assets of a module
### Bugfixes
* `sourceMap` option of the default UglifyJsPlugin now defaults to true when the SourceMapDevToolPlugin is used
* `module.assets` is now working again in the Stats
* chunk ids are not stringified on target node
* `devtoolNamespace` default works now also for arrays passed to `output.library`
* Format date with 2 digits in Stats for Build At
* fix a bug renaming classes incorrectly
* fix a bug where modules ignore the `chunks` option of `optimization.splitChunks`
---
### [`v4.2.0`](https://github.com/webpack/webpack/releases/v4.2.0)
### Features
* add `splitChunks.automaticNameDelimiter` to configure the name separator for automatic names
* `stats.excludeModules` now also accept booleans
* webpack throws an error when trying to run in twice at a time
* `performance` is disabled by default in non-web targets
* AMD parser plugins can now be extended by inheriting
### Bugfixes
* Fix a race condition when writing `events.json` in ProfilingPlugin
* HMR runtime code is reverted to ES5 style
* script timeout is not correctly in seconds
* reexporting JSON exports works correctly now
* fix a bug when combining ProfilingPlugin with SourceMapDevToolPlugin
* add a missing semicolon to the runtime code
---
### [`v4.3.0`](https://github.com/webpack/webpack/releases/v4.3.0)
### Features
* add support for `[contenthash]` placeholder
### Bugfixes
* `browser` field is used for target `electron-renderer`
* set `devtoolNamespace` default correctly when passing an object to `output.library`
---
### [`v4.4.0`](https://github.com/webpack/webpack/releases/v4.4.0)
### Features
* When webpack-cli is not installed it will ask to install it
* `splitChunks.chunks` supports a custom function now
* Better warning when omitting `mode`
### Bugfixes
* disallow functions for `chunkFilename`, because it's not working
* generate correct code when using `export default (function xxx() {})`
### Performance
* Performance improvements for sorting by identifier
---
### [`v4.4.1`](https://github.com/webpack/webpack/releases/v4.4.1)
### Bugfixes
* fix yarn/npm install script on windows
---
### [`v4.5.0`](https://github.com/webpack/webpack/releases/v4.5.0)
### Features
* Performance improvements
* Improve readablility of error messages with long loader string
### Bugfixes
* Sort child compilations for consistent compilation hash
* Fix bug causing all symbols to be renamed when concatenating modules
### Contributing
* add `yarn setup` script for bootstrapping local development
---
### [`v4.6.0`](https://github.com/webpack/webpack/releases/v4.6.0)
### Features
* improve stats output alignment
* improve stats text output when all exports are used
* add `webpackPrefetch`/`webpackPreload` magic comments to `import()`
* add `stats.entrypoints[].children` and `stats.entrypoints[].childAssets` to stats json
* add prefetched/preloaded chunks and assets to stats text output
* Performance improvements
### Bugfixes
* Escape chunk ids for `target: "webworker"`
* fix `this` to `undefined` ESM replacement in function default values
* `new require(...)` is weird, but now behaves like in node.js
* fix behavior of `export * from "commonjs"` with partial override
* fixed build time output in current locale in stats text output
* fixed ChunkModuleIdRangePlugin and add tests
* avoid race condition when using the loadModule loader API
* fix default value of `output.globalObject` in `target: "node-webkit"`
* fix a bug with `loadModules` and dependencies in these modules
* fix hot.accept parser plugin to allow defined values as argument
* print `unknown size` when size is unknown
* fix a bug where some chunks were missing in the "single" runtime chunk
* fix cloning of `optimization` configuration
### Internal changes
* Set up infrastructure for linting typings with TypeScript
---
Commits
webpack-contrib/webpack-hot-middleware
#### v2.22.0
- [`8984fa2`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/8984fa2845da68b8b9652669f738d6d49ce8e4b5)Bump webpack-dev-middleware version in example
- [`81abf53`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/81abf5369d8ee25a55a3e9ae9e419c703f837bb2)Strengthen overlayWarnings override
- [`f51a473`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/f51a47360e701a3b6be1bf3cf9009a061f55afd6)Add conditional check for reporter
- [`2e8da50`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/2e8da50918b02c28ad32a7a3a24f7e64a11a9595)Merge branch 'master' into feature/overlay-warnings
- [`b0af1f9`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/b0af1f912f0da753195776ad4a22bc8a218d5af1)Merge pull request #275 from benjarwar/feature/overlay-warnings
- [`052a6bc`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/052a6bc9dea6ca8bfb01e915278b9f529871fdda)Assign copyright to JS foundation
- [`6fa86d5`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/6fa86d5a5a938a11128d85ee2b9899864705aba6)docs(readme): Update project urls
- [`e1cee48`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/e1cee4885373e6b2b011bf7ff0fc84a1f7f76f84)docs(readme): Update coverage badge to codecov
- [`8fba554`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/8fba5542fd2fa1f4db69e960fed7899ed8decbb8)ci(Travis): Update to defaults 1.x CI configuration
- [`b79474f`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/b79474fd0eb733ac3d828fc0b8d01fcea8a87b4b)chore(package): Change coverage tooling
- [`ffb4a46`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/ffb4a46d2ab26c63de0b9ba3d352f66de5075a4e)ci(Circle): Update to defaults CircleCI config
- [`ad9326f`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/ad9326ffd209b1290400f8d2789c7239308655a7)docs(readme): Update CI status badge
- [`385ce11`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/385ce11c3c17d2d85c94a3e920ae5fb6a0af60c0)ci(circle): Pick up latest config from defaults
- [`92381b5`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/92381b5e53c3a511f7bc601627b57c04bac60d6b)Merge pull request #300 from webpack-contrib/d3viant0ne/ci/CanaryUpdate
- [`6133e21`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/6133e210b8c04d199df4c9a071d41559ab83b9e6)2.22.0
#### v2.22.1
- [`a7edfd5`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/a7edfd5a2097b5eb15bf47e4a1d83329bf808b59)Hot update warning builds when warning overlay is off
- [`0ad2a10`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/0ad2a1054e67cdf622445f7b8221bd2b255271ef)Ensure that warning logs are still shown when the overlay isn't
- [`78c9e7e`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/78c9e7e37e63a0b61460010a36fd608df5fb535e)2.22.1
webpack/webpack-dev-middleware
#### v3.0.0
- [`fbad3a9`](https://github.com/webpack/webpack-dev-middleware/commit/fbad3a9543fa90e08ccb7c5edbd3bcb9e2dc1c31)Webpack 4 (#267)
- [`878aecd`](https://github.com/webpack/webpack-dev-middleware/commit/878aecd709b161a6cbbbd6e15dd14ba105b1e194)remove watchOffset option in favor of time-fix-plugin
- [`78e9879`](https://github.com/webpack/webpack-dev-middleware/commit/78e98794e5fff0728c1d33657cddbcc192a6ccb7)3.0.0
#### v3.0.1
- [`1f1a117`](https://github.com/webpack/webpack-dev-middleware/commit/1f1a117e220f5257dc770d8be4f8775b1460f186)Update package.json (#271)
- [`843686b`](https://github.com/webpack/webpack-dev-middleware/commit/843686b8940612f055632f785cfd8f15e51918db)perf: A nitpick, make it better. (#273)
- [`955e53e`](https://github.com/webpack/webpack-dev-middleware/commit/955e53e1b522ab8e84797fa88a1f86bc1b14dc42)Fix Windows Paths (#276)
- [`8cefebd`](https://github.com/webpack/webpack-dev-middleware/commit/8cefebdf2c0a6050b85648774960965213b660fa)add appveyor config (#280)
- [`14de0b9`](https://github.com/webpack/webpack-dev-middleware/commit/14de0b99cbdf2d3de54bdc24eeb5ab504d43685f)3.0.1
#### v3.1.0
- [`781bdc1`](https://github.com/webpack/webpack-dev-middleware/commit/781bdc1b647d78e2908e876da5202ca58c3c1742)update README with publicPath doc link
- [`d26c67c`](https://github.com/webpack/webpack-dev-middleware/commit/d26c67c58fb44b44d435eec1015597e1cb823c0d)fixes #282. credit @cexoso. in certain edge situations res.locals is undefined
- [`08207cc`](https://github.com/webpack/webpack-dev-middleware/commit/08207ccf7759fdcea38566ea8848426c3f6c36bf)On windows path spaces should resolve to %20 (#288)
- [`8a0bb32`](https://github.com/webpack/webpack-dev-middleware/commit/8a0bb32ba1b066dff20c51735bbaabc809a7ad72)Allow Writing Files to Disk (#287)
- [`4d53d7c`](https://github.com/webpack/webpack-dev-middleware/commit/4d53d7c4be0e1c3700d0612e1c531c0fb02ca129)3.1.0
#### v3.1.1
- [`cb82ac0`](https://github.com/webpack/webpack-dev-middleware/commit/cb82ac0611c7b645f3faa2badb5e73c918dbc233)fix(package): add chalk to peerDeps (#292)
- [`986d69e`](https://github.com/webpack/webpack-dev-middleware/commit/986d69e10bb5f0fb3134fd411bb8104c2f19451f)3.1.1
#### v3.1.2
- [`6255a43`](https://github.com/webpack/webpack-dev-middleware/commit/6255a4361d7eb8f8b07d372bacbab369d56962a7)refactor: use chalk from webpack-log (#293)
- [`884664a`](https://github.com/webpack/webpack-dev-middleware/commit/884664ad07c3b3693745404b2bfe1e782839361f)chore(release): v3.1.2
#### v3.1.3
- [`9afcd36`](https://github.com/webpack/webpack-dev-middleware/commit/9afcd36b55b5c30810d4e9b7e69ba50696de2cd8)docs(readme): update requirements section to include webpack@4+
- [`e0d4293`](https://github.com/webpack/webpack-dev-middleware/commit/e0d4293c1cc208ae8236ff3e810bb46567c55dfb)docs(readme): fix missing right parenthesis (#299)
- [`ac17265`](https://github.com/webpack/webpack-dev-middleware/commit/ac17265d942b48217887d091ed1ffd461740427f)fix: fixes #290 - MultiCompiler exception with writeToDisk
- [`e606cf1`](https://github.com/webpack/webpack-dev-middleware/commit/e606cf1fa747b9b6d828dc259d346d1cf2f0d549)Excluded outputPath from URI escaping to fix #297. (#303)
- [`30ba0d7`](https://github.com/webpack/webpack-dev-middleware/commit/30ba0d7e91170c54eb28298f65abd8269e84b9d2)chore: update package-lock.json
- [`27b6c1a`](https://github.com/webpack/webpack-dev-middleware/commit/27b6c1af28487263d30888751982b979ff267941)3.1.3
webpack/webpack
#### v4.6.0
- [`37ff424`](https://github.com/webpack/webpack/commit/37ff424dd9c7b010523b537cc6e2065716915ed0)Pass undefined as locale
- [`fac3424`](https://github.com/webpack/webpack/commit/fac34248f4c850b57f607f624fe129527d95ea50)Simplify cachedMerge
- [`269a911`](https://github.com/webpack/webpack/commit/269a9115182f064eb29b8d27fff3012d51bb01b3)Define missing fields on AMD classes
- [`fe73712`](https://github.com/webpack/webpack/commit/fe73712e5b24f5a94d83df128e18ef5af2ca9e01)Remove unecessary _this binding
- [`30da6c5`](https://github.com/webpack/webpack/commit/30da6c54dec4e15be4e53330d3d4520994104809)Merge pull request #6989 from mohsen1/extend-Template
- [`25f8637`](https://github.com/webpack/webpack/commit/25f8637de290a62cfcb8063fcb5f017678806e94)Merge pull request #7010 from webpack/fix/context_dependency_init
- [`5401381`](https://github.com/webpack/webpack/commit/540138126b6f6347beb63b9a41704cf64f8f3700)Merge pull request #7011 from webpack/fix/object_shapes
- [`15ac4e8`](https://github.com/webpack/webpack/commit/15ac4e850fe7d3f2df06d8c9e805bc2e6d976804)Merge pull request #7012 from webpack/refactor/remove_this
- [`a41974d`](https://github.com/webpack/webpack/commit/a41974d9fb025b3719f48475875b559b9077cc53)Merge pull request #7013 from webpack/refactor/cachedmerge
- [`e320290`](https://github.com/webpack/webpack/commit/e3202900e5aaed13ed9c265c5feba349dd9a6a0a)Merge pull request #7014 from webpack/refactor/amd_missing_fields
- [`6e154f6`](https://github.com/webpack/webpack/commit/6e154f650a9295d3553229a9c431125a5ec955db)Avoid deopt when cache is set
- [`5be4026`](https://github.com/webpack/webpack/commit/5be402671dff7cb0826224b598390b581b2f216a)Merge pull request #7015 from webpack/refactor/source_map_deopt
- [`0b1e9d8`](https://github.com/webpack/webpack/commit/0b1e9d8e09aa3f346707776f08f3307b06758d8d)Merge pull request #6982 from mohsen1/json-and-date-api-fixes
- [`589f40b`](https://github.com/webpack/webpack/commit/589f40b26a8d16d07a8335cbf012cd227218aff7)Add missing class member initializations found by TypeScript
- [`4f3e414`](https://github.com/webpack/webpack/commit/4f3e4148204fef5addd9f343cae7aa76fec4bda4)chore: rm useless checking
- [`1c76133`](https://github.com/webpack/webpack/commit/1c761339f50bde1d0eac69ebaf2ee045c562319b)Avoid type mismatch assignment of number to string in HotModuleReplacementPlugin
- [`dd484c3`](https://github.com/webpack/webpack/commit/dd484c3ab26a4435d6b755a4618cbebc0d8a9934)init details
- [`b203091`](https://github.com/webpack/webpack/commit/b203091d3f2265098ee36f40add7acd33c14d692)s/const/let
- [`581d19b`](https://github.com/webpack/webpack/commit/581d19ba88921d6c6f7c5d8e60d297ead518f7b1)actually const is fine
- [`13ac6a1`](https://github.com/webpack/webpack/commit/13ac6a15eecb6e2e3d9e91cb59a6bd224672f241)Merge pull request #7020 from mohsen1/avoid-type-mismatch-assignments
- [`b5b6506`](https://github.com/webpack/webpack/commit/b5b6506242a048ab3478375272012fa40db23b9c)remove unneeded message assignment
- [`b6c282f`](https://github.com/webpack/webpack/commit/b6c282fef2156f220d493ccf25fe732c3a65047d)fix unit test
- [`eca7bad`](https://github.com/webpack/webpack/commit/eca7bad8de54c39b9cb8b138793362b8a17ac11b)Merge pull request #6910 from mohsen1/more-inits
- [`b8b95cf`](https://github.com/webpack/webpack/commit/b8b95cfebc351e6ebaa37cb45ed9dbe1db9ce22b)Use compilation instead of this
- [`4d9eb7c`](https://github.com/webpack/webpack/commit/4d9eb7cade954be2190a50564ee6ce54cb1b1e8b)Merge pull request #6974 from mohsen1/webpack-error-refactor
- [`36d576c`](https://github.com/webpack/webpack/commit/36d576cc2894f4309e76fe19f95a89db9ff2b97c)Update ChunkModuleIdRangePlugin to webpack 4 API
- [`b715475`](https://github.com/webpack/webpack/commit/b715475d7a9b9f31143f3b1894816cceeea6881b)Add integration tests
- [`397f51f`](https://github.com/webpack/webpack/commit/397f51fb03326540503cdfc687af3aed965bb0c1)Merge pull request #7019 from Aladdin-ADD/patch-2
- [`0e88e8a`](https://github.com/webpack/webpack/commit/0e88e8ab008815707f58c73e4517df4dd33362ef)Merge pull request #6954 from webpack/fix/ChunkModuleIdRangePlugin
- [`868d3b2`](https://github.com/webpack/webpack/commit/868d3b20d09327647ef1de1b59b71baae6ac6134)Add infrastructure
- [`cf8ec0f`](https://github.com/webpack/webpack/commit/cf8ec0f95db5d40278dc40346416b31993065bb4)Add WebAssembly global
- [`84f68b3`](https://github.com/webpack/webpack/commit/84f68b321692fe66a2ea942172cfedcd6458125b)Install typescript
- [`d00d44c`](https://github.com/webpack/webpack/commit/d00d44ce0ce6df299a9537cccccc79e6933c9a24)Use nightly build of TS for now
- [`5bb5af6`](https://github.com/webpack/webpack/commit/5bb5af60ca540b0d3cf0dda47ff3006ade99b178)Some type fixes using JSDoc comments
- [`3ac4f21`](https://github.com/webpack/webpack/commit/3ac4f216c1555020693a7f6cb0f8386a392244c4)More comments to help ts compiler be happy
- [`09cdcb0`](https://github.com/webpack/webpack/commit/09cdcb0661ebcdc79051ed3550112c0a8ef0ea1f)More comment based type fixes
- [`0ced385`](https://github.com/webpack/webpack/commit/0ced3852236a022bfafbb72af44fc43e1e305b2a)Comment fixes
- [`6a9ee8f`](https://github.com/webpack/webpack/commit/6a9ee8fd4ed988933d13fd9bfc1fb4f388eb47bc)more comment types and one actual code change
- [`2367a7d`](https://github.com/webpack/webpack/commit/2367a7da3d734f246151797ba29aecc09d2a976d)More comments
- [`70f9a5f`](https://github.com/webpack/webpack/commit/70f9a5fc2176464de73b5261c9a5902e49ebd1ce)upgrade ts
- [`5adc491`](https://github.com/webpack/webpack/commit/5adc4918cada7920f2be061adec0fa679d03043f)Add more globals and comments
- [`8398411`](https://github.com/webpack/webpack/commit/839841148ef80993591ff2e3c940707a1bc66a6b)Add types for comment method
- [`836d06e`](https://github.com/webpack/webpack/commit/836d06e98de18835acf27fe90895f3579276a129)up ts
- [`0fa8cd9`](https://github.com/webpack/webpack/commit/0fa8cd9e2df1732a526f288aa9cb2094ea1d4db3)Use ts nightly and enable tsc as lint in travis
- [`d677bdd`](https://github.com/webpack/webpack/commit/d677bdd0e9acba651cb4c1817fd30ca2ef786666)pretty
- [`2267906`](https://github.com/webpack/webpack/commit/22679069f87b1ff0ca50ddbcd43fe76d3a4ffee4)Fix lint issues
- [`5b236e5`](https://github.com/webpack/webpack/commit/5b236e53da39dda5a97472a6ecff22e31129abc3)More type fixes (these changes should be merged as separate PRs
- [`2295c83`](https://github.com/webpack/webpack/commit/2295c837d0ff9bd428df75a2dbbe8b9b8fe65898)Add ts-ignore comments with link to issue
- [`c7429a6`](https://github.com/webpack/webpack/commit/c7429a67fe5734576b0f81f7518ce307eaab5efe)Fixed all type errors!
- [`724987a`](https://github.com/webpack/webpack/commit/724987a8a7d47c45125c75889f23bd6d4bde51f1)set correct type in ContextDependency
- [`0ea9b98`](https://github.com/webpack/webpack/commit/0ea9b980f6fe02d3fe8d913afac01f9ac710c6bf)Use ts nightly and fix JSDoc for comment method in RuntimeTemplate
- [`2b66263`](https://github.com/webpack/webpack/commit/2b66263b44f0efe5591bc4e457895b397bb95d7e)TS now understands module.exports assignments
- [`2adf5c2`](https://github.com/webpack/webpack/commit/2adf5c2b0d64f8d1c70d22e1b2b54db1f02288ec)Better JSDocs for makeNewProfiledTapFn
- [`8de3b9b`](https://github.com/webpack/webpack/commit/8de3b9bd22f1bd2279cbcba50c555a37df24d7e2)add types to Module
- [`ebc4b00`](https://github.com/webpack/webpack/commit/ebc4b004cc2a3e2f0819d5735316e463719e1c0f)add type linting to normal linting in package.json
- [`a4e8c07`](https://github.com/webpack/webpack/commit/a4e8c07f096bb29b659662519f73c2924dae09aa)fix jsdoc comments to make eslint happy
- [`3677e25`](https://github.com/webpack/webpack/commit/3677e25c3089a7bb5df5fa471d4b07c6668a9310)add a separate class for HotUpdateChunk
- [`5f0a99e`](https://github.com/webpack/webpack/commit/5f0a99e93bf715b9b596e5a8a22813a46d067f9a)declare types for chrome-trace-event
- [`6063276`](https://github.com/webpack/webpack/commit/6063276a251f4abc2f85ab009ab606fa12a4d0d6)remove $WebAssembly global
- [`9dafa97`](https://github.com/webpack/webpack/commit/9dafa97e5e63e7fdf22992ab160d6a84a2476cc6)TS now understands exports assignments
- [`a3df74b`](https://github.com/webpack/webpack/commit/a3df74b2a173c9cf89671d119710cb3648410920)remove unneeded member isImportEmitted
- [`985e6fb`](https://github.com/webpack/webpack/commit/985e6fb001541931e4f7f3b80a280f7fd37ae228)fix race condition when using loadModule
- [`40a089c`](https://github.com/webpack/webpack/commit/40a089c98cff6c8d5af65aa8ed35f87f27d081dd)Merge pull request #7027 from webpack/bugfix/load-module-race
- [`10282ea`](https://github.com/webpack/webpack/commit/10282ea20648b465caec6448849f24fc34e1ba3e)Merge pull request #6862 from mohsen1/ts
- [`58b387b`](https://github.com/webpack/webpack/commit/58b387b4d910c6e301cef0e39f015ae5b8315f47)enable strictFunctionTypes
- [`2e3f4ff`](https://github.com/webpack/webpack/commit/2e3f4ffb2bdba9630124e761cb2e44a85cc76ade)enable strictPropertyInitialization
- [`0d50f94`](https://github.com/webpack/webpack/commit/0d50f944baca3cd7309c1336faabbe9cc502043f)enable alwaysStrict
- [`3565cc1`](https://github.com/webpack/webpack/commit/3565cc18f4ec61ec1486bb119fb1762a541ca10b)enable noUnusedLocals
- [`ddb4b9e`](https://github.com/webpack/webpack/commit/ddb4b9efa41e9605256ab3339d0da688035769cf)ASCII **is** art
- [`236b1d8`](https://github.com/webpack/webpack/commit/236b1d877afada6f5272ad0a4756e51e658b9501)Revert "enable noUnusedLocals"
- [`74559e3`](https://github.com/webpack/webpack/commit/74559e3856206a7809ead540345870f70642155e)Diable strictPropertyInitialization until null check is enabled
- [`ec0dad4`](https://github.com/webpack/webpack/commit/ec0dad4a38bd0527bfd9e0fa39e6b443ef075932)Merge remote-tracking branch 'upstream/master' into peer-dependencies-4
- [`6294313`](https://github.com/webpack/webpack/commit/6294313d136aac089dc82bed383b182cbf6a7559)Merge pull request #7033 from mohsen1/strict
- [`0be0d1f`](https://github.com/webpack/webpack/commit/0be0d1f556055004237289cf039df042ee203a72)Merge pull request #7039 from hedgepigdaniel/peer-dependencies-4
- [`70d4825`](https://github.com/webpack/webpack/commit/70d48256d7031e5cd557f4238a2ee9abbbab32b3)Fix output.globalObject value in node-webkit
- [`e656231`](https://github.com/webpack/webpack/commit/e6562319fecf9ce5230876c504bfa495ce3bdabd)Move prepareOptions to test helpers
- [`1313300`](https://github.com/webpack/webpack/commit/1313300b52d933dc4519ee70142db8e9ad3eecd8)Merge pull request #7049 from bastimeyer/bugfix/output-globalobject-node-webkit
- [`e54af0d`](https://github.com/webpack/webpack/commit/e54af0ddc3246c45602e5738be212ccac0d41a69)Merge pull request #7048 from webpack/refactor/prepareOptions
- [`9cb1a66`](https://github.com/webpack/webpack/commit/9cb1a663173f5fcbda83b2916e0f1679c1dc642e)add support for link preload/prefetch
- [`014e65e`](https://github.com/webpack/webpack/commit/014e65e27e8d417fe41e0bd2674b615ee7ff700a)rename webpackPrefetchPriority to webpackPrefetch
- [`57e09a6`](https://github.com/webpack/webpack/commit/57e09a67a1f7ee3ae2cd0aaac1ebc9584b52e634)add test for prefetch, preload and script loading jsonp runtime
- [`17eb5b4`](https://github.com/webpack/webpack/commit/17eb5b47009b925901f6489df77ba1092d5d254b)rename priority to order
- [`2a7fdc4`](https://github.com/webpack/webpack/commit/2a7fdc4f7273c5e824d1ecfa09b523abb8badec4)hot.accept tap interceptor returns T/F based on the number of args
- [`3417da5`](https://github.com/webpack/webpack/commit/3417da594d6a352c75fddff5b5e9cc2f5c239043)preload in parallel to script download
- [`e1930c2`](https://github.com/webpack/webpack/commit/e1930c22a1d949da737c0f39432032251a27e300)Fix LoaderPlugin not resolving recursively
- [`873d7d4`](https://github.com/webpack/webpack/commit/873d7d442a56574e2b262f2f5fbd8aa315b34785)show preload and prefetch in stats
- [`be79d6d`](https://github.com/webpack/webpack/commit/be79d6d291b778312fad708b453185c6607026be)add mixed test case which also tests equal order sorting
- [`babc8a4`](https://github.com/webpack/webpack/commit/babc8a4425692aa984401e12e638a04642f02ee6)Merge pull request #7059 from bastimeyer/bugfix/loaderplugin-recursive
- [`205ca62`](https://github.com/webpack/webpack/commit/205ca623e728a72716356fd2ba3068813f18a302)fix reversed order in Chunk.compareTo
- [`8e2e19b`](https://github.com/webpack/webpack/commit/8e2e19ba50b1d84710cd6b56b85705ee230a86da)fix unstable sorting of ChunkGroups and add test
- [`946c4df`](https://github.com/webpack/webpack/commit/946c4dfed35b8dd6df3f162cb1320267b6cecde0)add test case for comments in import()
- [`58ba91d`](https://github.com/webpack/webpack/commit/58ba91d78ba631b82d9287075c626596580bb41d)fix bug which prevented some chunks to show up in Chunk.getAllAsyncChunks
- [`0ff2901`](https://github.com/webpack/webpack/commit/0ff29011e82f07347302a8d9eaa162bd17e5c17c)Merge pull request #7060 from webpack/test/any-comment-in-import
- [`ec4ec8e`](https://github.com/webpack/webpack/commit/ec4ec8eec3f22b983ecd698888e4a9c38736dfc0)Merge pull request #7056 from webpack/feature/preload
- [`aee2491`](https://github.com/webpack/webpack/commit/aee24915aed3333dbf16aa5fb71857a240aa493b)Merge pull request #6962 from justinhelmer/bug/6919
- [`3f99517`](https://github.com/webpack/webpack/commit/3f995177b095412aee6026ee6dfd5f55eeaa6a9e)Merge pull request #6905 from xtuc/fix-handle-unknown-size
- [`c47150c`](https://github.com/webpack/webpack/commit/c47150c42c980b297c747a17d79bd6722a65fb84)Clone optimization config in Defaulter
- [`3a5fda9`](https://github.com/webpack/webpack/commit/3a5fda909f2ecf911c73429cb4770948dbd31d24)Merge pull request #7062 from webpack/bugfix/issue-6931
- [`941be29`](https://github.com/webpack/webpack/commit/941be2941e5fa51136454158ea812000c78c4a08)Merge pull request #7063 from webpack/bugfix/clone-optimization
- [`e7c8fa4`](https://github.com/webpack/webpack/commit/e7c8fa414b718ac98d94a96e2553faceabfbc92f)4.6.0
This Pull Request renovates the package group "webpack".
devDependencies
): from~2.21.0
to~2.22.0
devDependencies
): from~2.0.1
to~3.1.0
devDependencies
): from~3.11.0
to~4.6.0
Release Notes
webpack/webpack-dev-middleware
### [`v3.0.0`](https://github.com/webpack/webpack-dev-middleware/releases/v3.0.0) #### Updates - Webpack 4 (#267) - remove watchOffset option in favor of time-fix-plugin #### Breaking Changes - Introduces full support for webpack v4 and removes support for lesser versions. - The `watchOffset` option has been removed and the README has been updated with alternative means of accomplishing the same result for this module and webpack v4. --- ### [`v3.1.0`](https://github.com/webpack/webpack-dev-middleware/releases/v3.1.0) #### Bugfixes - On windows path spaces should resolve to %20 (#288) - fixes #282. credit @cexoso. in certain edge situations res.locals is undefined (d26c67c) #### Features - Allow Writing Files to Disk (#287) --- ### [`v3.1.1`](https://github.com/webpack/webpack-dev-middleware/releases/v3.1.1) #### Bugfixes - fix(package): add chalk to peerDeps (#292) --- ### [`v3.1.2`](https://github.com/webpack/webpack-dev-middleware/releases/v3.1.2) #### Updates - refactor: use chalk from webpack-log (#293) --- ### [`v3.1.3`](https://github.com/webpack/webpack-dev-middleware/releases/v3.1.3) #### Bugfixes - Excluded outputPath from URI escaping to fix #297. (#303) - fix: fixes #290 - MultiCompiler exception with writeToDisk (#301) ---webpack/webpack
### [`v4.0.0`](https://github.com/webpack/webpack/releases/v4.0.0) ### Big changes * Environment * Node.js 4 is no longer supported. Source Code was upgraded to a higher ecmascript version. * Usage * You have to choose (`mode` or `--mode`) between two modes now: production or development * production enables all kind of optimizations to generate optimized bundles * development enables comments and hint for development and enables the eval devtool * production doesn't support watching, development is optimized for fast incremental rebuilds * production also enables module concatenating (Scope Hoisting) * You can configure this in detail with the flags in `optimization.*` (build your custom mode) * `process.env.NODE_ENV` are set to production or development (only in built code, not in config) * There is a hidden `none` mode which disables everything * Syntax * `import()` always returns a namespace object. CommonJS modules are wrapped into the default export * This probably breaks your code, if you used to import CommonJs with `import()` * Configuration * You no longer need to use these plugins: * `NoEmitOnErrorsPlugin` -> `optimization.noEmitOnErrors` (on by default in production mode) * `ModuleConcatenationPlugin` -> `optimization.concatenateModules` (on by default in production mode) * `NamedModulesPlugin` -> `optimization.namedModules` (on by default in develoment mode) * `CommonsChunkPlugin` was removed -> `optimization.splitChunks`, `optimization.runtimeChunk` * JSON * webpack now handles JSON natively * You may need to add `type: "javascript/auto"` when transforming JSON via loader to JS * Just using JSON without loader should still work * allows to import JSON via ESM syntax * unused exports elimination for JSON modules * Optimization * Upgrade uglifyjs-webpack-plugin to v1 * ES15 support ### Big features * Modules * webpack now supports these module types: * javascript/auto: (The default one in webpack 3) Javascript module with all module systems enabled: CommonJS, AMD, ESM * javascript/esm: EcmaScript modules, all other module system are not available * javascript/dynamic: Only CommonJS and, EcmaScript modules are not available * json: JSON data, it's available via require and import * webassembly/experimental: WebAssembly modules (currently experimental) * `javascript/esm` handles ESM more strictly compared to `javascript/auto`: * Imported names need to exist on imported module * Dynamic modules (non-esm, i. e. CommonJs) can only imported via `default` import, everything else (including namespace import) emit errors * In `.mjs` modules are `javascript/esm` by default * WebAssembly modules * can import other modules (JS and WASM) * Exports from WebAssembly modules are validated by ESM import * You'll get a warning/error when trying to import a non-existing export from WASM * can only be used in async chunks. They doesn't work in initial chunks (would be bad for web performance) * Import modules using WASM via `import()` * This is an experimental feature and subject of change * Optimization * `sideEffects: false` is now supported in package.json * `sideEffects` in package.json also supports glob expressions and arrays of glob expressions * Instead of a JSONP function a JSONP array is used -> async script tag support, order no longer matter * New `optimization.splitChunks` option was introduced Details: https://gist.github.com/sokra/1522d586b8e5c0f5072d7565c2bee693 * Dead branches are now removed by webpack itself * Before: Uglify removed the dead code * Now: webpack removes the dead code (in some cases) * This prevents crashing when `import()` occur in a dead branch * Syntax * `webpackInclude` and `webpackExclude` are supported by the magic comment for `import()`. They allow to filter files when using a dynamic expression. * Using `System.import()` now emits a warning * You can disable the warning with `Rule.parser.system: true` * You can disable `System.import` with `Rule.parser.system: false` * Configuration * Resolving can now be configured with `module.rules[].resolve`. It's merged with the global configuration. * `optimization.minimize` has been added to switch minimizing on/off * By default: on in production mode, off in development mode * `optimization.minimizer` has been added to configurate minimizers and options * Usage * Some Plugin options are now validated * CLI has been move to webpack-cli, you need to install `webpack-cli` to use the CLI * The ProgressPlugin (`--progress`) now displays plugin names * At least for plugins migrated to the new plugin system * Performance * UglifyJs now caches and parallizes by default * Multiple performance improvements, especially for faster incremental rebuilds * performance improvement for RemoveParentModulesPlugin * Stats * Stats can display modules nested in concatenated modules ### Features * Configuration * Module type is automatically choosen for mjs, json and wasm extensions. Other extensions need to be configured via `module.rules[].type` * Incorrect `options.dependencies` configurations now throw error * `sideEffects` can be overriden via module.rules * `output.hashFunction` can now be a Constructor to a custom hash function * You can provide a non-cryto hash function for performance reasons * add `output.globalObject` config option to allow to choose the global object reference in runtime exitCode * Runtime * Error for chunk loading now includes more information and two new properties `type` and `request`. * Devtool * remove comment footer from SourceMaps and eval * add support for `include` `test` and `exclude` to the eval source map devtool plugin * Performance * webpacks AST can be passed directly from loader to webpack to avoid extra parsing * Unused modules are no longer unnecessarly concatenated * Add a ProfilingPlugin which write a (Chrome) profile file which includes timings of plugins * Migrate to using `for of` instead of `forEach` * Migrate to using `Map` and `Set` instead of Objects * Migrate to using `includes` instead of `indexOf` * Replaced some RegExp with string methods * Queue don't enqueues the same job twice * Use faster md4 hash for hashing by default * Optimization * When using more than 25 exports mangled export names are shorter. * script tags are no longer `text/javascript` and `async` as this are the default values (saves a few bytes) * The concatenated module now generates a bit less code * constant replacements now don't need `__webpack_require__` and argument is omitted * Defaults * webpack now looks for the `.wasm`, `.mjs`, `.js` and `.json` extensions in this order * `output.pathinfo` is now on by default in develoment mode * in-memory caching is now off by default in production * `entry` defaults to `./src` * `output.path` defaults to `./dist` * Use `production` defaults when omiting the `mode` option * Usage * Add detailed progress reporting to SourceMapDevToolPlugin * removed plugins now give a useful error message * Stats * Sizes are now shown in kiB instead of kB in Stats * entrypoints are now shows by default in Stats * chunks now display `<{parents}>` `>{children}<` and `={siblings}=` in Stats * add `buildAt` time to stats * stats json now includes the output path * Syntax * A resource query is supported in context * Referencing entry point name in `import()` now emits a error instead of a warning * Upgraded to acorn 5 and support ES 2018 * Plugins * `done` is now an async hook ### Bugfixes * Generated comments no longer break on `*/` * webpack no longer modifies the passed options object * Compiler "watch-run" hook now has the Compiler as first parameter * add `output.chunkCallbackName` to the schema to allow configurating WebWorker template * Using `module.id/loaded` now correctly bails out of Module Concatentation (Scope Hoisting) * OccurenceOrderPlugin now sorts modules in correct order (instead of reversed) * timestamps for files are read from watcher when calling `Watching.invalidate` * fix incorrect `-!` behavior with post loaders * add `run` and `watchRun` hooks for `MultiCompiler` * `this` is now undefined in ESM * VariableDeclaration are correctly identified as `var`, `const` or `let` * Parser now parse the source code with the correct source type (module/script) when the module type `javascript/dynamic` or `javascript/module` is used. * don't crash on missing modules with `buildMeta` of null * add `original-fs` module for electron targets * HMRPlugin can be added to the Compiler outside of `plugins` ### Internal changes * Replaced `plugin` calls with `tap` calls (new plugin system) * Migrated many deprecated plugins to new plugin system API * added `buildMeta.exportsType: "default"` for json modules * Remove unused methods from Parser (parserStringArray, parserCalculatedStringArray) * Remove ability to clear BasicEvaluatedExpression and to have multiple types * Buffer.from instead of new Buffer * Avoid using forEach and use for of instead * Use `neo-async` instead of `async` * Update tapable and enhanced-resolve dependencies to new major versions * Use prettier ### Removed features * removed `module.loaders` * removed `loaderContext.options` * removed `Compilation.notCacheable` flag * removed `NoErrorsPlugin` * removed `Dependency.isEqualResource` * removed `NewWatchingPlugin` * removed `CommonsChunkPlugin` ### Breaking changes for plugins/loaders * new plugin system * `plugin` method is backward-compatible * Plugins should use `Compiler.hooks.xxx.tap(Commits
webpack-contrib/webpack-hot-middleware
#### v2.22.0 - [`8984fa2`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/8984fa2845da68b8b9652669f738d6d49ce8e4b5)Bump webpack-dev-middleware version in example - [`81abf53`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/81abf5369d8ee25a55a3e9ae9e419c703f837bb2)Strengthen overlayWarnings override - [`f51a473`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/f51a47360e701a3b6be1bf3cf9009a061f55afd6)Add conditional check for reporter - [`2e8da50`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/2e8da50918b02c28ad32a7a3a24f7e64a11a9595)Merge branch 'master' into feature/overlay-warnings - [`b0af1f9`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/b0af1f912f0da753195776ad4a22bc8a218d5af1)Merge pull request #275 from benjarwar/feature/overlay-warnings - [`052a6bc`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/052a6bc9dea6ca8bfb01e915278b9f529871fdda)Assign copyright to JS foundation - [`6fa86d5`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/6fa86d5a5a938a11128d85ee2b9899864705aba6)docs(readme): Update project urls - [`e1cee48`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/e1cee4885373e6b2b011bf7ff0fc84a1f7f76f84)docs(readme): Update coverage badge to codecov - [`8fba554`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/8fba5542fd2fa1f4db69e960fed7899ed8decbb8)ci(Travis): Update to defaults 1.x CI configuration - [`b79474f`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/b79474fd0eb733ac3d828fc0b8d01fcea8a87b4b)chore(package): Change coverage tooling - [`ffb4a46`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/ffb4a46d2ab26c63de0b9ba3d352f66de5075a4e)ci(Circle): Update to defaults CircleCI config - [`ad9326f`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/ad9326ffd209b1290400f8d2789c7239308655a7)docs(readme): Update CI status badge - [`385ce11`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/385ce11c3c17d2d85c94a3e920ae5fb6a0af60c0)ci(circle): Pick up latest config from defaults - [`92381b5`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/92381b5e53c3a511f7bc601627b57c04bac60d6b)Merge pull request #300 from webpack-contrib/d3viant0ne/ci/CanaryUpdate - [`6133e21`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/6133e210b8c04d199df4c9a071d41559ab83b9e6)2.22.0 #### v2.22.1 - [`a7edfd5`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/a7edfd5a2097b5eb15bf47e4a1d83329bf808b59)Hot update warning builds when warning overlay is off - [`0ad2a10`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/0ad2a1054e67cdf622445f7b8221bd2b255271ef)Ensure that warning logs are still shown when the overlay isn't - [`78c9e7e`](https://github.com/webpack-contrib/webpack-hot-middleware/commit/78c9e7e37e63a0b61460010a36fd608df5fb535e)2.22.1webpack/webpack-dev-middleware
#### v3.0.0 - [`fbad3a9`](https://github.com/webpack/webpack-dev-middleware/commit/fbad3a9543fa90e08ccb7c5edbd3bcb9e2dc1c31)Webpack 4 (#267) - [`878aecd`](https://github.com/webpack/webpack-dev-middleware/commit/878aecd709b161a6cbbbd6e15dd14ba105b1e194)remove watchOffset option in favor of time-fix-plugin - [`78e9879`](https://github.com/webpack/webpack-dev-middleware/commit/78e98794e5fff0728c1d33657cddbcc192a6ccb7)3.0.0 #### v3.0.1 - [`1f1a117`](https://github.com/webpack/webpack-dev-middleware/commit/1f1a117e220f5257dc770d8be4f8775b1460f186)Update package.json (#271) - [`843686b`](https://github.com/webpack/webpack-dev-middleware/commit/843686b8940612f055632f785cfd8f15e51918db)perf: A nitpick, make it better. (#273) - [`955e53e`](https://github.com/webpack/webpack-dev-middleware/commit/955e53e1b522ab8e84797fa88a1f86bc1b14dc42)Fix Windows Paths (#276) - [`8cefebd`](https://github.com/webpack/webpack-dev-middleware/commit/8cefebdf2c0a6050b85648774960965213b660fa)add appveyor config (#280) - [`14de0b9`](https://github.com/webpack/webpack-dev-middleware/commit/14de0b99cbdf2d3de54bdc24eeb5ab504d43685f)3.0.1 #### v3.1.0 - [`781bdc1`](https://github.com/webpack/webpack-dev-middleware/commit/781bdc1b647d78e2908e876da5202ca58c3c1742)update README with publicPath doc link - [`d26c67c`](https://github.com/webpack/webpack-dev-middleware/commit/d26c67c58fb44b44d435eec1015597e1cb823c0d)fixes #282. credit @cexoso. in certain edge situations res.locals is undefined - [`08207cc`](https://github.com/webpack/webpack-dev-middleware/commit/08207ccf7759fdcea38566ea8848426c3f6c36bf)On windows path spaces should resolve to %20 (#288) - [`8a0bb32`](https://github.com/webpack/webpack-dev-middleware/commit/8a0bb32ba1b066dff20c51735bbaabc809a7ad72)Allow Writing Files to Disk (#287) - [`4d53d7c`](https://github.com/webpack/webpack-dev-middleware/commit/4d53d7c4be0e1c3700d0612e1c531c0fb02ca129)3.1.0 #### v3.1.1 - [`cb82ac0`](https://github.com/webpack/webpack-dev-middleware/commit/cb82ac0611c7b645f3faa2badb5e73c918dbc233)fix(package): add chalk to peerDeps (#292) - [`986d69e`](https://github.com/webpack/webpack-dev-middleware/commit/986d69e10bb5f0fb3134fd411bb8104c2f19451f)3.1.1 #### v3.1.2 - [`6255a43`](https://github.com/webpack/webpack-dev-middleware/commit/6255a4361d7eb8f8b07d372bacbab369d56962a7)refactor: use chalk from webpack-log (#293) - [`884664a`](https://github.com/webpack/webpack-dev-middleware/commit/884664ad07c3b3693745404b2bfe1e782839361f)chore(release): v3.1.2 #### v3.1.3 - [`9afcd36`](https://github.com/webpack/webpack-dev-middleware/commit/9afcd36b55b5c30810d4e9b7e69ba50696de2cd8)docs(readme): update requirements section to include webpack@4+ - [`e0d4293`](https://github.com/webpack/webpack-dev-middleware/commit/e0d4293c1cc208ae8236ff3e810bb46567c55dfb)docs(readme): fix missing right parenthesis (#299) - [`ac17265`](https://github.com/webpack/webpack-dev-middleware/commit/ac17265d942b48217887d091ed1ffd461740427f)fix: fixes #290 - MultiCompiler exception with writeToDisk - [`e606cf1`](https://github.com/webpack/webpack-dev-middleware/commit/e606cf1fa747b9b6d828dc259d346d1cf2f0d549)Excluded outputPath from URI escaping to fix #297. (#303) - [`30ba0d7`](https://github.com/webpack/webpack-dev-middleware/commit/30ba0d7e91170c54eb28298f65abd8269e84b9d2)chore: update package-lock.json - [`27b6c1a`](https://github.com/webpack/webpack-dev-middleware/commit/27b6c1af28487263d30888751982b979ff267941)3.1.3webpack/webpack
#### v4.6.0 - [`37ff424`](https://github.com/webpack/webpack/commit/37ff424dd9c7b010523b537cc6e2065716915ed0)Pass undefined as locale - [`fac3424`](https://github.com/webpack/webpack/commit/fac34248f4c850b57f607f624fe129527d95ea50)Simplify cachedMerge - [`269a911`](https://github.com/webpack/webpack/commit/269a9115182f064eb29b8d27fff3012d51bb01b3)Define missing fields on AMD classes - [`fe73712`](https://github.com/webpack/webpack/commit/fe73712e5b24f5a94d83df128e18ef5af2ca9e01)Remove unecessary _this binding - [`30da6c5`](https://github.com/webpack/webpack/commit/30da6c54dec4e15be4e53330d3d4520994104809)Merge pull request #6989 from mohsen1/extend-Template - [`25f8637`](https://github.com/webpack/webpack/commit/25f8637de290a62cfcb8063fcb5f017678806e94)Merge pull request #7010 from webpack/fix/context_dependency_init - [`5401381`](https://github.com/webpack/webpack/commit/540138126b6f6347beb63b9a41704cf64f8f3700)Merge pull request #7011 from webpack/fix/object_shapes - [`15ac4e8`](https://github.com/webpack/webpack/commit/15ac4e850fe7d3f2df06d8c9e805bc2e6d976804)Merge pull request #7012 from webpack/refactor/remove_this - [`a41974d`](https://github.com/webpack/webpack/commit/a41974d9fb025b3719f48475875b559b9077cc53)Merge pull request #7013 from webpack/refactor/cachedmerge - [`e320290`](https://github.com/webpack/webpack/commit/e3202900e5aaed13ed9c265c5feba349dd9a6a0a)Merge pull request #7014 from webpack/refactor/amd_missing_fields - [`6e154f6`](https://github.com/webpack/webpack/commit/6e154f650a9295d3553229a9c431125a5ec955db)Avoid deopt when cache is set - [`5be4026`](https://github.com/webpack/webpack/commit/5be402671dff7cb0826224b598390b581b2f216a)Merge pull request #7015 from webpack/refactor/source_map_deopt - [`0b1e9d8`](https://github.com/webpack/webpack/commit/0b1e9d8e09aa3f346707776f08f3307b06758d8d)Merge pull request #6982 from mohsen1/json-and-date-api-fixes - [`589f40b`](https://github.com/webpack/webpack/commit/589f40b26a8d16d07a8335cbf012cd227218aff7)Add missing class member initializations found by TypeScript - [`4f3e414`](https://github.com/webpack/webpack/commit/4f3e4148204fef5addd9f343cae7aa76fec4bda4)chore: rm useless checking - [`1c76133`](https://github.com/webpack/webpack/commit/1c761339f50bde1d0eac69ebaf2ee045c562319b)Avoid type mismatch assignment of number to string in HotModuleReplacementPlugin - [`dd484c3`](https://github.com/webpack/webpack/commit/dd484c3ab26a4435d6b755a4618cbebc0d8a9934)init details - [`b203091`](https://github.com/webpack/webpack/commit/b203091d3f2265098ee36f40add7acd33c14d692)s/const/let - [`581d19b`](https://github.com/webpack/webpack/commit/581d19ba88921d6c6f7c5d8e60d297ead518f7b1)actually const is fine - [`13ac6a1`](https://github.com/webpack/webpack/commit/13ac6a15eecb6e2e3d9e91cb59a6bd224672f241)Merge pull request #7020 from mohsen1/avoid-type-mismatch-assignments - [`b5b6506`](https://github.com/webpack/webpack/commit/b5b6506242a048ab3478375272012fa40db23b9c)remove unneeded message assignment - [`b6c282f`](https://github.com/webpack/webpack/commit/b6c282fef2156f220d493ccf25fe732c3a65047d)fix unit test - [`eca7bad`](https://github.com/webpack/webpack/commit/eca7bad8de54c39b9cb8b138793362b8a17ac11b)Merge pull request #6910 from mohsen1/more-inits - [`b8b95cf`](https://github.com/webpack/webpack/commit/b8b95cfebc351e6ebaa37cb45ed9dbe1db9ce22b)Use compilation instead of this - [`4d9eb7c`](https://github.com/webpack/webpack/commit/4d9eb7cade954be2190a50564ee6ce54cb1b1e8b)Merge pull request #6974 from mohsen1/webpack-error-refactor - [`36d576c`](https://github.com/webpack/webpack/commit/36d576cc2894f4309e76fe19f95a89db9ff2b97c)Update ChunkModuleIdRangePlugin to webpack 4 API - [`b715475`](https://github.com/webpack/webpack/commit/b715475d7a9b9f31143f3b1894816cceeea6881b)Add integration tests - [`397f51f`](https://github.com/webpack/webpack/commit/397f51fb03326540503cdfc687af3aed965bb0c1)Merge pull request #7019 from Aladdin-ADD/patch-2 - [`0e88e8a`](https://github.com/webpack/webpack/commit/0e88e8ab008815707f58c73e4517df4dd33362ef)Merge pull request #6954 from webpack/fix/ChunkModuleIdRangePlugin - [`868d3b2`](https://github.com/webpack/webpack/commit/868d3b20d09327647ef1de1b59b71baae6ac6134)Add infrastructure - [`cf8ec0f`](https://github.com/webpack/webpack/commit/cf8ec0f95db5d40278dc40346416b31993065bb4)Add WebAssembly global - [`84f68b3`](https://github.com/webpack/webpack/commit/84f68b321692fe66a2ea942172cfedcd6458125b)Install typescript - [`d00d44c`](https://github.com/webpack/webpack/commit/d00d44ce0ce6df299a9537cccccc79e6933c9a24)Use nightly build of TS for now - [`5bb5af6`](https://github.com/webpack/webpack/commit/5bb5af60ca540b0d3cf0dda47ff3006ade99b178)Some type fixes using JSDoc comments - [`3ac4f21`](https://github.com/webpack/webpack/commit/3ac4f216c1555020693a7f6cb0f8386a392244c4)More comments to help ts compiler be happy - [`09cdcb0`](https://github.com/webpack/webpack/commit/09cdcb0661ebcdc79051ed3550112c0a8ef0ea1f)More comment based type fixes - [`0ced385`](https://github.com/webpack/webpack/commit/0ced3852236a022bfafbb72af44fc43e1e305b2a)Comment fixes - [`6a9ee8f`](https://github.com/webpack/webpack/commit/6a9ee8fd4ed988933d13fd9bfc1fb4f388eb47bc)more comment types and one actual code change - [`2367a7d`](https://github.com/webpack/webpack/commit/2367a7da3d734f246151797ba29aecc09d2a976d)More comments - [`70f9a5f`](https://github.com/webpack/webpack/commit/70f9a5fc2176464de73b5261c9a5902e49ebd1ce)upgrade ts - [`5adc491`](https://github.com/webpack/webpack/commit/5adc4918cada7920f2be061adec0fa679d03043f)Add more globals and comments - [`8398411`](https://github.com/webpack/webpack/commit/839841148ef80993591ff2e3c940707a1bc66a6b)Add types for comment method - [`836d06e`](https://github.com/webpack/webpack/commit/836d06e98de18835acf27fe90895f3579276a129)up ts - [`0fa8cd9`](https://github.com/webpack/webpack/commit/0fa8cd9e2df1732a526f288aa9cb2094ea1d4db3)Use ts nightly and enable tsc as lint in travis - [`d677bdd`](https://github.com/webpack/webpack/commit/d677bdd0e9acba651cb4c1817fd30ca2ef786666)pretty - [`2267906`](https://github.com/webpack/webpack/commit/22679069f87b1ff0ca50ddbcd43fe76d3a4ffee4)Fix lint issues - [`5b236e5`](https://github.com/webpack/webpack/commit/5b236e53da39dda5a97472a6ecff22e31129abc3)More type fixes (these changes should be merged as separate PRs - [`2295c83`](https://github.com/webpack/webpack/commit/2295c837d0ff9bd428df75a2dbbe8b9b8fe65898)Add ts-ignore comments with link to issue - [`c7429a6`](https://github.com/webpack/webpack/commit/c7429a67fe5734576b0f81f7518ce307eaab5efe)Fixed all type errors! - [`724987a`](https://github.com/webpack/webpack/commit/724987a8a7d47c45125c75889f23bd6d4bde51f1)set correct type in ContextDependency - [`0ea9b98`](https://github.com/webpack/webpack/commit/0ea9b980f6fe02d3fe8d913afac01f9ac710c6bf)Use ts nightly and fix JSDoc for comment method in RuntimeTemplate - [`2b66263`](https://github.com/webpack/webpack/commit/2b66263b44f0efe5591bc4e457895b397bb95d7e)TS now understands module.exports assignments - [`2adf5c2`](https://github.com/webpack/webpack/commit/2adf5c2b0d64f8d1c70d22e1b2b54db1f02288ec)Better JSDocs for makeNewProfiledTapFn - [`8de3b9b`](https://github.com/webpack/webpack/commit/8de3b9bd22f1bd2279cbcba50c555a37df24d7e2)add types to Module - [`ebc4b00`](https://github.com/webpack/webpack/commit/ebc4b004cc2a3e2f0819d5735316e463719e1c0f)add type linting to normal linting in package.json - [`a4e8c07`](https://github.com/webpack/webpack/commit/a4e8c07f096bb29b659662519f73c2924dae09aa)fix jsdoc comments to make eslint happy - [`3677e25`](https://github.com/webpack/webpack/commit/3677e25c3089a7bb5df5fa471d4b07c6668a9310)add a separate class for HotUpdateChunk - [`5f0a99e`](https://github.com/webpack/webpack/commit/5f0a99e93bf715b9b596e5a8a22813a46d067f9a)declare types for chrome-trace-event - [`6063276`](https://github.com/webpack/webpack/commit/6063276a251f4abc2f85ab009ab606fa12a4d0d6)remove $WebAssembly global - [`9dafa97`](https://github.com/webpack/webpack/commit/9dafa97e5e63e7fdf22992ab160d6a84a2476cc6)TS now understands exports assignments - [`a3df74b`](https://github.com/webpack/webpack/commit/a3df74b2a173c9cf89671d119710cb3648410920)remove unneeded member isImportEmitted - [`985e6fb`](https://github.com/webpack/webpack/commit/985e6fb001541931e4f7f3b80a280f7fd37ae228)fix race condition when using loadModule - [`40a089c`](https://github.com/webpack/webpack/commit/40a089c98cff6c8d5af65aa8ed35f87f27d081dd)Merge pull request #7027 from webpack/bugfix/load-module-race - [`10282ea`](https://github.com/webpack/webpack/commit/10282ea20648b465caec6448849f24fc34e1ba3e)Merge pull request #6862 from mohsen1/ts - [`58b387b`](https://github.com/webpack/webpack/commit/58b387b4d910c6e301cef0e39f015ae5b8315f47)enable strictFunctionTypes - [`2e3f4ff`](https://github.com/webpack/webpack/commit/2e3f4ffb2bdba9630124e761cb2e44a85cc76ade)enable strictPropertyInitialization - [`0d50f94`](https://github.com/webpack/webpack/commit/0d50f944baca3cd7309c1336faabbe9cc502043f)enable alwaysStrict - [`3565cc1`](https://github.com/webpack/webpack/commit/3565cc18f4ec61ec1486bb119fb1762a541ca10b)enable noUnusedLocals - [`ddb4b9e`](https://github.com/webpack/webpack/commit/ddb4b9efa41e9605256ab3339d0da688035769cf)ASCII **is** art - [`236b1d8`](https://github.com/webpack/webpack/commit/236b1d877afada6f5272ad0a4756e51e658b9501)Revert "enable noUnusedLocals" - [`74559e3`](https://github.com/webpack/webpack/commit/74559e3856206a7809ead540345870f70642155e)Diable strictPropertyInitialization until null check is enabled - [`ec0dad4`](https://github.com/webpack/webpack/commit/ec0dad4a38bd0527bfd9e0fa39e6b443ef075932)Merge remote-tracking branch 'upstream/master' into peer-dependencies-4 - [`6294313`](https://github.com/webpack/webpack/commit/6294313d136aac089dc82bed383b182cbf6a7559)Merge pull request #7033 from mohsen1/strict - [`0be0d1f`](https://github.com/webpack/webpack/commit/0be0d1f556055004237289cf039df042ee203a72)Merge pull request #7039 from hedgepigdaniel/peer-dependencies-4 - [`70d4825`](https://github.com/webpack/webpack/commit/70d48256d7031e5cd557f4238a2ee9abbbab32b3)Fix output.globalObject value in node-webkit - [`e656231`](https://github.com/webpack/webpack/commit/e6562319fecf9ce5230876c504bfa495ce3bdabd)Move prepareOptions to test helpers - [`1313300`](https://github.com/webpack/webpack/commit/1313300b52d933dc4519ee70142db8e9ad3eecd8)Merge pull request #7049 from bastimeyer/bugfix/output-globalobject-node-webkit - [`e54af0d`](https://github.com/webpack/webpack/commit/e54af0ddc3246c45602e5738be212ccac0d41a69)Merge pull request #7048 from webpack/refactor/prepareOptions - [`9cb1a66`](https://github.com/webpack/webpack/commit/9cb1a663173f5fcbda83b2916e0f1679c1dc642e)add support for link preload/prefetch - [`014e65e`](https://github.com/webpack/webpack/commit/014e65e27e8d417fe41e0bd2674b615ee7ff700a)rename webpackPrefetchPriority to webpackPrefetch - [`57e09a6`](https://github.com/webpack/webpack/commit/57e09a67a1f7ee3ae2cd0aaac1ebc9584b52e634)add test for prefetch, preload and script loading jsonp runtime - [`17eb5b4`](https://github.com/webpack/webpack/commit/17eb5b47009b925901f6489df77ba1092d5d254b)rename priority to order - [`2a7fdc4`](https://github.com/webpack/webpack/commit/2a7fdc4f7273c5e824d1ecfa09b523abb8badec4)hot.accept tap interceptor returns T/F based on the number of args - [`3417da5`](https://github.com/webpack/webpack/commit/3417da594d6a352c75fddff5b5e9cc2f5c239043)preload in parallel to script download - [`e1930c2`](https://github.com/webpack/webpack/commit/e1930c22a1d949da737c0f39432032251a27e300)Fix LoaderPlugin not resolving recursively - [`873d7d4`](https://github.com/webpack/webpack/commit/873d7d442a56574e2b262f2f5fbd8aa315b34785)show preload and prefetch in stats - [`be79d6d`](https://github.com/webpack/webpack/commit/be79d6d291b778312fad708b453185c6607026be)add mixed test case which also tests equal order sorting - [`babc8a4`](https://github.com/webpack/webpack/commit/babc8a4425692aa984401e12e638a04642f02ee6)Merge pull request #7059 from bastimeyer/bugfix/loaderplugin-recursive - [`205ca62`](https://github.com/webpack/webpack/commit/205ca623e728a72716356fd2ba3068813f18a302)fix reversed order in Chunk.compareTo - [`8e2e19b`](https://github.com/webpack/webpack/commit/8e2e19ba50b1d84710cd6b56b85705ee230a86da)fix unstable sorting of ChunkGroups and add test - [`946c4df`](https://github.com/webpack/webpack/commit/946c4dfed35b8dd6df3f162cb1320267b6cecde0)add test case for comments in import() - [`58ba91d`](https://github.com/webpack/webpack/commit/58ba91d78ba631b82d9287075c626596580bb41d)fix bug which prevented some chunks to show up in Chunk.getAllAsyncChunks - [`0ff2901`](https://github.com/webpack/webpack/commit/0ff29011e82f07347302a8d9eaa162bd17e5c17c)Merge pull request #7060 from webpack/test/any-comment-in-import - [`ec4ec8e`](https://github.com/webpack/webpack/commit/ec4ec8eec3f22b983ecd698888e4a9c38736dfc0)Merge pull request #7056 from webpack/feature/preload - [`aee2491`](https://github.com/webpack/webpack/commit/aee24915aed3333dbf16aa5fb71857a240aa493b)Merge pull request #6962 from justinhelmer/bug/6919 - [`3f99517`](https://github.com/webpack/webpack/commit/3f995177b095412aee6026ee6dfd5f55eeaa6a9e)Merge pull request #6905 from xtuc/fix-handle-unknown-size - [`c47150c`](https://github.com/webpack/webpack/commit/c47150c42c980b297c747a17d79bd6722a65fb84)Clone optimization config in Defaulter - [`3a5fda9`](https://github.com/webpack/webpack/commit/3a5fda909f2ecf911c73429cb4770948dbd31d24)Merge pull request #7062 from webpack/bugfix/issue-6931 - [`941be29`](https://github.com/webpack/webpack/commit/941be2941e5fa51136454158ea812000c78c4a08)Merge pull request #7063 from webpack/bugfix/clone-optimization - [`e7c8fa4`](https://github.com/webpack/webpack/commit/e7c8fa414b718ac98d94a96e2553faceabfbc92f)4.6.0This PR has been generated by Renovate Bot.