jamak
jamak copied to clipboard
Update dependency webpack to v4.35.3
This PR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
webpack | devDependencies | minor | 4.28.2 -> 4.35.3 |
Release Notes
webpack/webpack
v4.35.3
Bugfixes
- update acorn to include
import()
Performance
- Improved runtime performance for large JSON modules
v4.35.2
Bugfixes
-
realResource
must match absolute paths
v4.35.1
Bugfixes
- add
realResource
condition in rule to schema - fixes order of loaders when using a matchResource
v4.35.0
Features
- ProgressPlugin limit output to column width in terminal
- add
Watching.suspend
andWatching.resume
- add
splitChunks.automaticNameMaxLength
andsplitChunks.cacheGroups[x].automaticNameMaxLength
Bugfixes
- webworker target now respect
publicPath
when loading chunks - holey arrays of configs will fail the validation
v4.34.0
Features
- Error message when parsing fails shows used loaders now
Bugfixes
- importing the namespace object from non-ESM (CJS) modules no longer leads to an warning
- Error message in HMR logging works for Firefox too now
- Parser understands block scoping now
v4.33.0
Features
- add
target: "electron-preload"
for electron 5- renderer should use
target: "web"
in electron 5
- renderer should use
Bugfixes
- fix HMR rejection of removed and readded self-accepted modules
v4.32.2
Bugfixes
- fix some weird schema validation messages
- fix problem in production mode (sideEffects + concatenation) which caused reexported values to become undefined (bug since 4.32.0)
v4.32.1
Bugfixes
- reverts some changes from 4.32.0 which accidentally disabled some CommonJs features when using
node: false
.
v4.32.0
Features
- Added
this.mode
to the loader API, to allow loaders to choose defaults bymode
similar to webpacks options - Stack Trace for Errors in rejected Promises from
import()
now includes the stack from where theimport()
was called
Bugfixes
- The Parser can now analyse identifiers in rest patterns too
-
const { a, ...rest } = obj
, whererest
conflicts with an imported binding etc.
-
-
node: false
now correctly disables__dirname
and__filename
too -
__dirname
and__filename
now no longer evaluates to something whennode: false
ornode.__file/dirname: false
is set-
if(__dirname !== "")
is no longer replaced withif(true)
in such scenarios
-
- prefetching chunks is no executed after the initial module evaluation
- This allows to override i. e.
__webpack_public_path__
for prefetching too
- This allows to override i. e.
- fixes a runtime crash when using side-effect-free modules with the DllPlugin
Contribute
- CI tests node.js 12 now too
- webpack-bot now merges dependabot PRs automatically when status checks succeed
v4.31.0
Features
- add
errors-warnings
stats preset
Bugfixes
- allow top-level return in non-ESM modules
v4.30.0
Features
- add
amd: false
to disable AMD support -
Compilation.hooks.finishModules
now also allows async plugins - add
output.libraryTarget: "system"
to compile for SystemJs environment
Bugfixes
- fix generating a
null
id when concatenating an entry module in a different chunk - fix unneeded chunk references when splitting modules from chunks
- fix parsing of function name in function scope
Performance
- Lazy require some internal files
- Faster way to generate function headers
Contributing
- Run prettier on examples markdown
v4.29.6
Bugfixes
- typeof
__webpack_require__
andrequire.onError
is no longer evaluated toundefined
and evaluation is done at runtime instead. -
this
value inmodule.hot.accept
with imported dependency is correctly preserved. - webassemblyjs updated to latest version
Contributing
- added a linting step to ensure all dependencies resolve to
npm
modules
v4.29.5
Bugfixes
- update
@webassemblyjs
to remove git dependency
v4.29.4
Bugfixes
- update
@webassemblyjs
for bugfixes
v4.29.3
Bugfixes
- fixes a bug where
import()
context uses__webpack_require__.e
, but it is not in the runtime - WebpackErrors now console.log correctly in node > 10
v4.29.2
Internal changes
- update dependencies
v4.29.1
Bugfixes
- add missing
__esModule
flag when modules are concatenated, but without usage information
v4.29.0
Important Note for npm users
This release updates some dependencies, which may trigger a npm bug. See here for the webpack issue. The npm bug has been fixed, but a new npm version has not been released yet.
For workarounds see this comment.
Eventually the fix will be to upgrade npm once the bugfix is released.
Features
- update acorn to v6
- limit the number of in parallel written output files to 15
- add
output.futureEmitAssets
which gives the emitting logic of webpack 5- assets are replaced with SizeOnlySources
- reading assets after emitting is no longer allowed
- This allows memory to be garbage-collected
v4.28.4
Bugfixes
-
ProfilingPlugin
creates output path if not existing - fixed support for arrow function functions for
optimization.minimizer
- failed hooks is now also called when
run()
fails
v4.28.3
Bugfixes
- ProfilingPlugin creates the output folder if necessary
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!
".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot. View repository job log here.