You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
Bug Fixes Fixed inner graph for classes Optimized RemoveParentModulesPlugin via bigint arithmetic Fixed worklet detection in production mode Fixed an error for cyclic importModule Fixed types for Server and Dirent Added the fetchPriority to hmr runtime's ensureChunk function Don't warn about dynamic import for build dependencies External module generation respects the output.environment.arrowFunct
New Features Support destructuring assignment in import.meta by @vankop in #16996 Support treeshaking for destructuring assignment with AwaitExpression by @vankop in #16995 Introduce errorsSpace, warningsSpace for more readable traces in stats by @vankop in #15450 Bug Fixes [CSS] - Fix runtime generation bug for merged CSS Chunks by @janlent1 in #16903 [CSS] - Properly handle url()/src()/image-set
Current State: opt-in via experiments.css: true Explainer (not everything is implemented yet): experiments.css: true enables the native css support in webpack This will be enabled by default in webpack 6 There will be multiple modes depending on how you reference CSS A: import "./style.css": Attaches the stylesheet to the document as side effect of importing. @import and url() are resolved. B: imp
Features add output.library.type: "commonjs-static" to emit a statically analyse-able commonjs module (for node.js esm interop support) add experiments.css (very experimental) see #14893 Bugfixes fix CORS headers for experiments.lazyCompilation fix [absolute-resource-path] for SourceMap module naming avoid stack overflow when accessing many memory cached cache values in series Performance reduce d
Features add experiments.buildHttp to build http(s):// imports instead of keeping them external keeps a webpack.lock file with integrity and webpack.lock.data with cached content that should be committed Automatically upgrades lockfile during development when remote resources change (might be disabled with experiments.buildHttp.upgrade: false) Lockfile is frozen during production builds and usuall
Features Persist cache faster when large changes are detected new option cache.idleTimeoutAfterLargeChanges to control that Bugfixes shutdown lazy compilation server correctly Experiments EcmaScript modules support (experiments.outputModule: true) output.library.type: "module": very basic support, no live bindings, unnecessary runtime code output.chunkLoading: "import" output.chunkFormat: "module"
Features add GC to memory cache opt-in via cache.maxGenerations when cache.type: "memory" default for cache.type: "filesystem" and mode: "development" configure via cache.maxMemoryGenerations when cache.type: "filesystem" Generations = Rebuilds add GC for untouched filesystem cache files allow to configurate GC for the filesystem cache via cache.maxAge allow to disable memory cache when using the
Features add experimental lazy compilation via experiments.lazyCompilation: true for web and node targets compiles entrypoints and import()s only when they are accessed More details see: #12469 Known issues: webpack-dev-server/webpack serve opening an entrypoint for the first time, sometimes need a manual refresh. move some javascript parsing related configuration options from module to module.par
TL;DR: release planned for 2020-10-10 After nearly 1 year of beta testing and about 2 years of development we feel that it's time to release webpack 5 soon. As promised we do announce the release at least one month earlier to allow the ecosystem to catch up. To support that we will release have released a Release Candidate (RC) soon-ish in about 1-2 weeks. Once the RC has been released we try to a
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く