<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/webpack-5-111-mt0gmxzdi" -->

---
title: Webpack 5.111 | daily.dev
description: Webpack 5.111 stabilizes ES module output, removing the need for the experiments.outputModule flag while requiring output.module to be set explicitly if only...
canonical: https://daily.dev/posts/webpack-5-111-mt0gmxzdi
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Webpack 5.111 | daily.dev
og:description: Webpack 5.111 stabilizes ES module output, removing the need for the experiments.outputModule flag while requiring output.module to be set explicitly if only...
og:url: https://daily.dev/posts/webpack-5-111-mt0gmxzdi
og:image: https://api.daily.dev/og/posts/mt0gMxZdI.png
og:image:alt: Webpack 5.111
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Webpack 5.111

**[webpack](https://daily.dev/sources/webpack-blog)** · 15 min read · 6 upvotes · 1 comments

## Summary

Webpack 5.111 stabilizes ES module output, removing the need for the experiments.outputModule flag while requiring output.module to be set explicitly if only the old flag was used. New features include output.copy for copying static files, CSS minification tailored to browserslist targets, HTML minifier improvements, new performance hints (sourceMaps, unusedAssets, unusedModules, analyzableBailouts), optional cache dependencies, a specNamespaceObject option for spec-compliant module namespaces, a smaller chunk-loading runtime, reduced memory usage, and removal of the acorn and neo-async dependencies in favor of webpack's own JavaScript parser. Several performance-hint option names were renamed and the old names now error.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://webpack.js.org/blog/2026-09-14-webpack-5-111>

## Questions this post answers

### How do I migrate from experiments.outputModule to output.module in webpack 5.111?

Remove experiments.outputModule from the configuration and set output.module: true instead, since ESM output is now stable in webpack 5.111. If a project only had experiments.outputModule set to true without output.module, webpack now ignores the old flag entirely, so ESM output silently stops working unless output.module is added explicitly.

_daily.dev helps developers track breaking config changes like this before an upgrade bites._

### What performance hint option names changed in webpack 5.111?

Several performance.hints options were renamed and grouped: unusedAliases, unusedDefines, unusedExternals, and unusedRules merged into unusedConfig; unusedReexports became unusedModules; embeddedSourceMaps became sourceMaps; and entrypointOverlap became duplicateModules. Webpack reports a configuration error if the old names are still used, so configs must be updated when upgrading from 5.110.

_track config-breaking renames like these on daily.dev before they fail a ci build._

### How can I copy static files like robots.txt into my webpack output without a separate build step?

Use the new output.copy option in webpack 5.111 to copy a whole folder, such as output: { copy: "public" }, which copies public/ into the output directory while preserving folder structure. Patterns also support copying from multiple sources, renaming with filename templates, filtering, and transforming file contents, and updates are copied automatically during watch mode.

_developers weighing build-tool changes like this compare options on daily.dev before adopting them._

## Community discussion

Top comments from developers on daily.dev.

**@rucaua** · 3 upvotes

> ![image.png](https://media.daily.dev/image/upload/s--2Cya6QpD--/f_auto/v1789393896/ugc/content_f69e3a7d-22f3-4c6a-97f3-7d12ddc5cd3d?_a=BAMAMicg0)

## Similar posts on daily.dev

- [Webpack 5.110](https://daily.dev/posts/webpack-5-110-yid8nftne) · webpack · 0 upvotes · 0 comments
- [webpack](https://daily.dev/posts/webpack-xfuofstyh) · webpack · 7 upvotes · 5 comments
- [Webpack Publishes 2026 Roadmap with Native CSS Support, Universal Target, and Path to Version 6](https://daily.dev/posts/webpack-publishes-2026-roadmap-with-native-css-support-universal-target-and-path-to-version-6-st4ioteyv) · InfoQ · 5 upvotes · 0 comments
- [Webpack 5.112](https://daily.dev/posts/webpack-5-112-inznjyuj6) · webpack · 8 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript), [#css](https://daily.dev/tags/css), [#webpack](https://daily.dev/tags/webpack)

[View this post on daily.dev](https://daily.dev/posts/webpack-5-111-mt0gmxzdi)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Webpack 5.111","url":"https://daily.dev/posts/webpack-5-111-mt0gmxzdi","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/webpack-5-111-mt0gmxzdi"},"datePublished":"2026-09-14T06:25:12.375Z","dateModified":"2026-09-14T06:25:32.595Z","description":"Webpack 5.111 stabilizes ES module output, removing the need for the experiments.outputModule flag while requiring output.module to be set explicitly if only...","image":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","thumbnailUrl":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","isAccessibleForFree":true,"articleSection":"webpack","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"webpack","logo":"https://media.daily.dev/image/upload/s--IMWiEoiP--/f_auto,q_auto/v1787487498/logos/webpack-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/webpack-blog"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/webpack-5-111-mt0gmxzdi","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":6},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"javascript,css,webpack","timeRequired":"PT15M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"webpack","item":"https://daily.dev/sources/webpack-blog"},{"@type":"ListItem","position":3,"name":"Webpack 5.111"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/webpack-5-111-mt0gmxzdi","comment":[{"@type":"Comment","text":"","datePublished":"2026-09-14T13:51:39.787Z","dateModified":"2026-09-14T13:52:13.089Z","url":"https://daily.dev/posts/mt0gMxZdI#c-U6jVxSTFS","author":{"@type":"Person","name":"Maksym Tymofeiev","url":"https://daily.dev/rucaua","image":"https://media.daily.dev/image/upload/s--caTJyFHC--/f_auto/v1736549445/avatars/avatar_sIPMygD4Ld90iZsdsEqh7"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/webpack-5-111-mt0gmxzdi#faq","mainEntity":[{"@type":"Question","name":"How do I migrate from experiments.outputModule to output.module in webpack 5.111?","acceptedAnswer":{"@type":"Answer","text":"Remove experiments.outputModule from the configuration and set output.module: true instead, since ESM output is now stable in webpack 5.111. If a project only had experiments.outputModule set to true without output.module, webpack now ignores the old flag entirely, so ESM output silently stops working unless output.module is added explicitly. daily.dev helps developers track breaking config changes like this before an upgrade bites."}},{"@type":"Question","name":"What performance hint option names changed in webpack 5.111?","acceptedAnswer":{"@type":"Answer","text":"Several performance.hints options were renamed and grouped: unusedAliases, unusedDefines, unusedExternals, and unusedRules merged into unusedConfig; unusedReexports became unusedModules; embeddedSourceMaps became sourceMaps; and entrypointOverlap became duplicateModules. Webpack reports a configuration error if the old names are still used, so configs must be updated when upgrading from 5.110. track config-breaking renames like these on daily.dev before they fail a ci build."}},{"@type":"Question","name":"How can I copy static files like robots.txt into my webpack output without a separate build step?","acceptedAnswer":{"@type":"Answer","text":"Use the new output.copy option in webpack 5.111 to copy a whole folder, such as output: { copy: \"public\" }, which copies public/ into the output directory while preserving folder structure. Patterns also support copying from multiple sources, renaming with filename templates, filtering, and transforming file contents, and updates are copied automatically during watch mode. developers weighing build-tool changes like this compare options on daily.dev before adopting them."}}]}
```

