Visitar URL original
Merge sync 202609 (#1795) · line/webpack.kr@b680949 · GitHub
Skip to content

Commit b680949

Browse files
dkstyleTusharThakur04gurleen2506Deven14125pranjalisr
authored
Merge sync 202609 (#1795)
* fix: resolve dark theme for mobile-sidebar (#8133) * docs: improve wording (#8135) * fix: remove before/after pseudo-element classes from TextRotater (#8137) * fix: added aria (#7823) * docs(readme): fix grammar in Special Thanks section (#8141) * fix: added missing comma in getting-started conclusion. (#8143) * chore(deps): bump the dependencies group with 5 updates (#8153) Bumps the dependencies group with 5 updates: | Package | From | To | | --- | --- | --- | | [@docsearch/react](https://github.com/algolia/docsearch/tree/HEAD/packages/docsearch-react) | `4.6.0` | `4.6.2` | | [eslint-config-webpack](https://github.com/webpack/eslint-config-webpack) | `4.9.3` | `4.9.4` | | [lodash](https://github.com/lodash/lodash) | `4.17.23` | `4.18.0` | | [mini-css-extract-plugin](https://github.com/webpack/mini-css-extract-plugin) | `2.10.1` | `2.10.2` | | [webpack-bundle-analyzer](https://github.com/webpack/webpack-bundle-analyzer) | `5.2.0` | `5.3.0` | Updates `@docsearch/react` from 4.6.0 to 4.6.2 - [Release notes](https://github.com/algolia/docsearch/releases) - [Changelog](https://github.com/algolia/docsearch/blob/main/CHANGELOG.md) - [Commits](https://github.com/algolia/docsearch/commits/v4.6.2/packages/docsearch-react) Updates `eslint-config-webpack` from 4.9.3 to 4.9.4 - [Release notes](https://github.com/webpack/eslint-config-webpack/releases) - [Changelog](https://github.com/webpack/eslint-config-webpack/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/eslint-config-webpack/compare/v4.9.3...v4.9.4) Updates `lodash` from 4.17.23 to 4.18.0 - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.0) Updates `mini-css-extract-plugin` from 2.10.1 to 2.10.2 - [Release notes](https://github.com/webpack/mini-css-extract-plugin/releases) - [Changelog](https://github.com/webpack/mini-css-extract-plugin/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/mini-css-extract-plugin/compare/v2.10.1...v2.10.2) Updates `webpack-bundle-analyzer` from 5.2.0 to 5.3.0 - [Release notes](https://github.com/webpack/webpack-bundle-analyzer/releases) - [Changelog](https://github.com/webpack/webpack-bundle-analyzer/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-bundle-analyzer/compare/v5.2.0...v5.3.0) --- updated-dependencies: - dependency-name: "@docsearch/react" dependency-version: 4.6.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: eslint-config-webpack dependency-version: 4.9.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: lodash dependency-version: 4.18.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: mini-css-extract-plugin dependency-version: 2.10.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: webpack-bundle-analyzer dependency-version: 5.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the dependencies group with 2 updates (#8152) Bumps the dependencies group with 2 updates: [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) and [cypress-io/github-action](https://github.com/cypress-io/github-action). Updates `dependabot/fetch-metadata` from 2.5.0 to 3.0.0 - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/21025c705c08248db411dc16f3619e6b5f9ea21a...ffa630c65fa7e0ecfa0625b5ceda64399aea1b36) Updates `cypress-io/github-action` from 7.1.8 to 7.1.9 - [Release notes](https://github.com/cypress-io/github-action/releases) - [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/cypress-io/github-action/compare/4c06c48f3ffea349b7189aa06dfcda47a9fa7b92...783cb3f07983868532cabaedaa1e6c00ff4786a8) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies - dependency-name: cypress-io/github-action dependency-version: 7.1.9 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(typescript-guide): improve typescript guide * fix(search): correct DocSearch app ID typo (O vs 0) (#8154) * fix(SidebarMobile): move body event listeners to lifecycle methods (#8155) * fix(Markdown): replace Sass with plain CSS and Tailwind @apply (#8156) * refactor(styles): replace Sass with plain CSS and Tailwind @apply (#8159) * fix: add dark variant for placeholder (#8160) * refactor: convert SplashViz to functional component (#8164) * fix(contribute): fix webpack 4 patterns in plugin-patterns Changed chunks section (#8168) * refactor(Cube): rewrite class component to functional (#8170) * refactor(SidebarMobile): rewrite class component to functional (#8169) * refactor(Dropdown): rewrite class component to functional (#8171) * refactor(Configuration): rewrite class component to functional (#8174) * refactor(TextRotater): rewrite class component to functional (#8172) * Update changes * chore(deps): bump the dependencies group with 4 updates (#8178) Bumps the dependencies group with 4 updates: [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router), [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom), [eslint-config-webpack](https://github.com/webpack/eslint-config-webpack) and [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress). Updates `react-router` from 7.13.2 to 7.14.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@7.14.0/packages/react-router) Updates `react-router-dom` from 7.13.2 to 7.14.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.14.0/packages/react-router-dom) Updates `eslint-config-webpack` from 4.9.4 to 4.9.5 - [Release notes](https://github.com/webpack/eslint-config-webpack/releases) - [Changelog](https://github.com/webpack/eslint-config-webpack/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/eslint-config-webpack/compare/v4.9.4...v4.9.5) Updates `eslint-plugin-cypress` from 6.2.1 to 6.2.3 - [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases) - [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v6.2.1...v6.2.3) --- updated-dependencies: - dependency-name: react-router dependency-version: 7.14.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: react-router-dom dependency-version: 7.14.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: eslint-config-webpack dependency-version: 4.9.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: eslint-plugin-cypress dependency-version: 6.2.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(styles): replace arbitrary color values with named Tailwind tokens (#8166) * docs: add validation hook details for webpack 5.106 (#8158) * blog: webpack 5.106 (#8013) * docs: add blog post for Webpack 5.106 with CSS Modules runtime style injection * docs: add section on plugin validation with compiler.hooks.validate in Webpack 5.106 blog post * blog: add section on better tree shaking for CommonJS destructuring in Webpack 5.106 blog post Signed-off-by: GitHub <noreply@github.com> * docs: add support for context option in VirtualUrlPlugin for resolving relative imports in virtual modules * blog: add experimental JavaScript parsing example with oxc-parser in Webpack 5.106 blog post * blog: add section on other improvements and bug fixes in Webpack 5.106 blog post * blog: update Webpack 5.106 blog post with new sections on ecosystem updates and other improvements * docs: improve * blog: enhance Better Tree Shaking section with examples for CommonJS destructuring * rename file with new date * blog: refine introduction and update section titles for Webpack 5.106 * blog: enhance Plugin Validation section with detailed explanation and examples * docs: improve * fixup! * blog: update version reference in Bug Fixes section from 5.104 to 5.105 * blog: add Getting Started section for create-webpack-app to guide new users * rename date * rename file * blog: add Webpack 5.106 release notes with new features and improvements * blog: update Webpack 5.106 release notes to include source-phase imports for WebAssembly * fixup! * docs: more improvents * update date of the blog * add link --------- Signed-off-by: GitHub <noreply@github.com> * fix: refactor dark theme switching for markdown elements (#8163) * fix(styles): resolve css styles for links (#8182) * refactor: replace deprecated url.resolve() with WHATWG URL API (#8183) * refactor: remove dark.css (#8184) * docs: add Modern Web Platform guide (Web Components, Import Maps, PWA) (#8140) * fix: contribute donate button rendering (#8186) * fix: language dropdown hover spacing (#8187) * chore(deps): bump follow-redirects from 1.15.6 to 1.16.0 (#8190) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.6 to 1.16.0. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.6...v1.16.0) --- updated-dependencies: - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: update footer openjs ai policy (#8188) * docs(guides): add tsconfig-paths-webpack-plugin migration diff (#8191) * docs(contribute): add pitching loaders section to writing-a-loader (#8192) * chore(deps): bump actions/create-github-app-token (#8194) Bumps the dependencies group with 1 update: [actions/create-github-app-token](https://github.com/actions/create-github-app-token). Updates `actions/create-github-app-token` from 3.0.0 to 3.1.1 - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](https://github.com/actions/create-github-app-token/compare/f8d387b68d61c58ab83c6c016672934102569859...1b10c78c7865c340bc4f6099eb2f838309f1e8c3) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-version: 3.1.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the dependencies group with 11 updates (#8195) Bumps the dependencies group with 11 updates: | Package | From | To | | --- | --- | --- | | [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `19.2.4` | `19.2.5` | | [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `19.2.4` | `19.2.5` | | [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) | `7.14.0` | `7.14.1` | | [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) | `7.14.0` | `7.14.1` | | [autoprefixer](https://github.com/postcss/autoprefixer) | `10.4.27` | `10.5.0` | | [cypress](https://github.com/cypress-io/cypress) | `15.13.0` | `15.13.1` | | [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) | `6.2.3` | `6.3.0` | | [globals](https://github.com/sindresorhus/globals) | `17.4.0` | `17.5.0` | | [postcss](https://github.com/postcss/postcss) | `8.5.8` | `8.5.9` | | [prettier](https://github.com/prettier/prettier) | `3.8.1` | `3.8.2` | | [webpack](https://github.com/webpack/webpack) | `5.105.4` | `5.106.1` | Updates `react` from 19.2.4 to 19.2.5 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.5/packages/react) Updates `react-dom` from 19.2.4 to 19.2.5 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.5/packages/react-dom) Updates `react-router` from 7.14.0 to 7.14.1 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@7.14.1/packages/react-router) Updates `react-router-dom` from 7.14.0 to 7.14.1 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.14.1/packages/react-router-dom) Updates `autoprefixer` from 10.4.27 to 10.5.0 - [Release notes](https://github.com/postcss/autoprefixer/releases) - [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/autoprefixer/compare/10.4.27...10.5.0) Updates `cypress` from 15.13.0 to 15.13.1 - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md) - [Commits](https://github.com/cypress-io/cypress/compare/v15.13.0...v15.13.1) Updates `eslint-plugin-cypress` from 6.2.3 to 6.3.0 - [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases) - [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v6.2.3...v6.3.0) Updates `globals` from 17.4.0 to 17.5.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](https://github.com/sindresorhus/globals/compare/v17.4.0...v17.5.0) Updates `postcss` from 8.5.8 to 8.5.9 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.5.8...8.5.9) Updates `prettier` from 3.8.1 to 3.8.2 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.8.1...3.8.2) Updates `webpack` from 5.105.4 to 5.106.1 - [Release notes](https://github.com/webpack/webpack/releases) - [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack/compare/v5.105.4...v5.106.1) --- updated-dependencies: - dependency-name: react dependency-version: 19.2.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: react-dom dependency-version: 19.2.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: react-router dependency-version: 7.14.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: react-router-dom dependency-version: 7.14.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: autoprefixer dependency-version: 10.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: cypress dependency-version: 15.13.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: eslint-plugin-cypress dependency-version: 6.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: globals dependency-version: 17.5.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: postcss dependency-version: 8.5.9 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: prettier dependency-version: 3.8.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: webpack dependency-version: 5.106.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: standardize mode-specific defaults table across all configuration docs (#8176) * docs: improve Getting Started guide clarity and consistency (#8199) * docs: update npm install syntax to modern usage (#8196) * docs: clarify webpack loader execution order (right-to-left) (#8136) * docs: improve explanation of why webpack is used (#8197) * fix(markdown): correct invalid text-decoration declaration (#8203) * chore(deps): bump the dependencies group with 2 updates (#8204) Bumps the dependencies group with 2 updates: [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) and [actions/setup-node](https://github.com/actions/setup-node). Updates `dependabot/fetch-metadata` from 3.0.0 to 3.1.0 - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/ffa630c65fa7e0ecfa0625b5ceda64399aea1b36...25dd0e34f4fe68f24cc83900b1fe3fe149efef98) Updates `actions/setup-node` from 6.3.0 to 6.4.0 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/53b83947a5a98c8d113130e565377fae1a50d02f...48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-version: 3.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: actions/setup-node dependency-version: 6.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the dependencies group with 11 updates (#8205) Bumps the dependencies group with 11 updates: | Package | From | To | | --- | --- | --- | | [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) | `7.14.1` | `7.14.2` | | [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) | `7.14.1` | `7.14.2` | | [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.2.2` | `4.2.4` | | [cypress](https://github.com/cypress-io/cypress) | `15.13.1` | `15.14.1` | | [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) | `6.3.0` | `6.3.1` | | [feed](https://github.com/jpmonette/feed) | `5.2.0` | `5.2.1` | | [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) | `5.6.6` | `5.6.7` | | [postcss](https://github.com/postcss/postcss) | `8.5.9` | `8.5.10` | | [prettier](https://github.com/prettier/prettier) | `3.8.2` | `3.8.3` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.2.2` | `4.2.4` | | [webpack](https://github.com/webpack/webpack) | `5.106.1` | `5.106.2` | Updates `react-router` from 7.14.1 to 7.14.2 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@7.14.2/packages/react-router) Updates `react-router-dom` from 7.14.1 to 7.14.2 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.14.2/packages/react-router-dom) Updates `@tailwindcss/postcss` from 4.2.2 to 4.2.4 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.2.4/packages/@tailwindcss-postcss) Updates `cypress` from 15.13.1 to 15.14.1 - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md) - [Commits](https://github.com/cypress-io/cypress/compare/v15.13.1...v15.14.1) Updates `eslint-plugin-cypress` from 6.3.0 to 6.3.1 - [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases) - [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v6.3.0...v6.3.1) Updates `feed` from 5.2.0 to 5.2.1 - [Release notes](https://github.com/jpmonette/feed/releases) - [Commits](https://github.com/jpmonette/feed/compare/5.2.0...5.2.1) Updates `html-webpack-plugin` from 5.6.6 to 5.6.7 - [Release notes](https://github.com/jantimon/html-webpack-plugin/releases) - [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md) - [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v5.6.6...v5.6.7) Updates `postcss` from 8.5.9 to 8.5.10 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.5.9...8.5.10) Updates `prettier` from 3.8.2 to 3.8.3 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.8.2...3.8.3) Updates `tailwindcss` from 4.2.2 to 4.2.4 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.2.4/packages/tailwindcss) Updates `webpack` from 5.106.1 to 5.106.2 - [Release notes](https://github.com/webpack/webpack/releases) - [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack/compare/v5.106.1...v5.106.2) --- updated-dependencies: - dependency-name: react-router dependency-version: 7.14.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: react-router-dom dependency-version: 7.14.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: "@tailwindcss/postcss" dependency-version: 4.2.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: cypress dependency-version: 15.14.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: eslint-plugin-cypress dependency-version: 6.3.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: feed dependency-version: 5.2.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: html-webpack-plugin dependency-version: 5.6.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: postcss dependency-version: 8.5.10 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: prettier dependency-version: 3.8.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: tailwindcss dependency-version: 4.2.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: webpack dependency-version: 5.106.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix(footer): align legal link hover color with adjacent nav (#8202) * feat(ci): pr-quality (#8162) * feat(ci): pr-quality * fixup! * Update workflow reference to specific commit * docs(guides): expand ESM guide with import.meta, top-level await, and… (#8207) * docs(guides): add native CSS guide for experiments.css (#8193) * fix(a11y): fixed background contrast issue in Lighthouse (#8185) * chore(deps): bump cypress-io/github-action in the dependencies group (#8213) Bumps the dependencies group with 1 update: [cypress-io/github-action](https://github.com/cypress-io/github-action). Updates `cypress-io/github-action` from 7.1.9 to 7.1.10 - [Release notes](https://github.com/cypress-io/github-action/releases) - [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/cypress-io/github-action/compare/783cb3f07983868532cabaedaa1e6c00ff4786a8...c495c3ddffba403ba11be95fffb67e25203b3799) --- updated-dependencies: - dependency-name: cypress-io/github-action dependency-version: 7.1.10 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the dependencies group with 3 updates (#8214) Bumps the dependencies group with 3 updates: [@docsearch/react](https://github.com/algolia/docsearch/tree/HEAD/packages/docsearch-react), [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) and [postcss](https://github.com/postcss/postcss). Updates `@docsearch/react` from 4.6.2 to 4.6.3 - [Release notes](https://github.com/algolia/docsearch/releases) - [Changelog](https://github.com/algolia/docsearch/blob/main/CHANGELOG.md) - [Commits](https://github.com/algolia/docsearch/commits/v4.6.3/packages/docsearch-react) Updates `eslint-plugin-cypress` from 6.3.1 to 6.4.0 - [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases) - [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v6.3.1...v6.4.0) Updates `postcss` from 8.5.10 to 8.5.12 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.5.10...8.5.12) --- updated-dependencies: - dependency-name: "@docsearch/react" dependency-version: 4.6.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: eslint-plugin-cypress dependency-version: 6.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: postcss dependency-version: 8.5.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: correct lodash dependency usage in authoring libraries guide (#8217) * refactor(Support): rewrite class component to functional (#8173) * fix: improve count of `latest` sponsors (#8227) * chore(deps): bump cypress-io/github-action in the dependencies group (#8228) Bumps the dependencies group with 1 update: [cypress-io/github-action](https://github.com/cypress-io/github-action). Updates `cypress-io/github-action` from 7.1.10 to 7.3.0 - [Release notes](https://github.com/cypress-io/github-action/releases) - [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/cypress-io/github-action/compare/c495c3ddffba403ba11be95fffb67e25203b3799...dace029018fcdf86e0df89a31bc3cfa5b32570d8) --- updated-dependencies: - dependency-name: cypress-io/github-action dependency-version: 7.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the dependencies group with 8 updates (#8229) Bumps the dependencies group with 8 updates: | Package | From | To | | --- | --- | --- | | [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) | `7.14.2` | `7.15.0` | | [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) | `7.14.2` | `7.15.0` | | [workbox-window](https://github.com/googlechrome/workbox) | `7.4.0` | `7.4.1` | | [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.29.2` | `7.29.5` | | [cypress](https://github.com/cypress-io/cypress) | `15.14.1` | `15.14.2` | | [globals](https://github.com/sindresorhus/globals) | `17.5.0` | `17.6.0` | | [postcss](https://github.com/postcss/postcss) | `8.5.12` | `8.5.14` | | [workbox-webpack-plugin](https://github.com/googlechrome/workbox) | `7.4.0` | `7.4.1` | Updates `react-router` from 7.14.2 to 7.15.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@7.15.0/packages/react-router) Updates `react-router-dom` from 7.14.2 to 7.15.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.15.0/packages/react-router-dom) Updates `workbox-window` from 7.4.0 to 7.4.1 - [Release notes](https://github.com/googlechrome/workbox/releases) - [Commits](https://github.com/googlechrome/workbox/compare/v7.4.0...v7.4.1) Updates `@babel/preset-env` from 7.29.2 to 7.29.5 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.29.5/packages/babel-preset-env) Updates `cypress` from 15.14.1 to 15.14.2 - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md) - [Commits](https://github.com/cypress-io/cypress/compare/v15.14.1...v15.14.2) Updates `globals` from 17.5.0 to 17.6.0 - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](https://github.com/sindresorhus/globals/compare/v17.5.0...v17.6.0) Updates `postcss` from 8.5.12 to 8.5.14 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/postcss/postcss/compare/8.5.12...8.5.14) Updates `workbox-webpack-plugin` from 7.4.0 to 7.4.1 - [Release notes](https://github.com/googlechrome/workbox/releases) - [Commits](https://github.com/googlechrome/workbox/compare/v7.4.0...v7.4.1) --- updated-dependencies: - dependency-name: react-router dependency-version: 7.15.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: react-router-dom dependency-version: 7.15.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: workbox-window dependency-version: 7.4.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: "@babel/preset-env" dependency-version: 7.29.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: cypress dependency-version: 15.14.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: globals dependency-version: 17.6.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: postcss dependency-version: 8.5.14 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: workbox-webpack-plugin dependency-version: 7.4.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump serialize-javascript from 7.0.4 to 7.0.5 (#8230) Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 7.0.4 to 7.0.5. - [Release notes](https://github.com/yahoo/serialize-javascript/releases) - [Commits](https://github.com/yahoo/serialize-javascript/compare/v7.0.4...v7.0.5) --- updated-dependencies: - dependency-name: serialize-javascript dependency-version: 7.0.5 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: improve sponsor button hover state (#8206) * fix: update MinimizerPlugin (#8231) * chore(deps): bump the dependencies group with 10 updates (#8233) Bumps the dependencies group with 10 updates: | Package | From | To | | --- | --- | --- | | [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `19.2.5` | `19.2.6` | | [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `19.2.5` | `19.2.6` | | [tailwind-merge](https://github.com/dcastil/tailwind-merge) | `3.5.0` | `3.6.0` | | [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.2.4` | `4.3.0` | | [cypress](https://github.com/cypress-io/cypress) | `15.14.2` | `15.15.0` | | [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) | `6.4.0` | `6.4.1` | | [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) | `30.3.0` | `30.4.2` | | [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) | `30.3.0` | `30.4.1` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.2.4` | `4.3.0` | | [webpack-dev-server](https://github.com/webpack/webpack-dev-server) | `5.2.3` | `5.2.4` | Updates `react` from 19.2.5 to 19.2.6 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react) Updates `react-dom` from 19.2.5 to 19.2.6 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.6/packages/react-dom) Updates `tailwind-merge` from 3.5.0 to 3.6.0 - [Release notes](https://github.com/dcastil/tailwind-merge/releases) - [Commits](https://github.com/dcastil/tailwind-merge/compare/v3.5.0...v3.6.0) Updates `@tailwindcss/postcss` from 4.2.4 to 4.3.0 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.0/packages/@tailwindcss-postcss) Updates `cypress` from 15.14.2 to 15.15.0 - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md) - [Commits](https://github.com/cypress-io/cypress/compare/v15.14.2...v15.15.0) Updates `eslint-plugin-cypress` from 6.4.0 to 6.4.1 - [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases) - [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v6.4.0...v6.4.1) Updates `jest` from 30.3.0 to 30.4.2 - [Release notes](https://github.com/jestjs/jest/releases) - [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jestjs/jest/commits/v30.4.2/packages/jest) Updates `jest-environment-jsdom` from 30.3.0 to 30.4.1 - [Release notes](https://github.com/jestjs/jest/releases) - [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/jestjs/jest/commits/v30.4.1/packages/jest-environment-jsdom) Updates `tailwindcss` from 4.2.4 to 4.3.0 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.0/packages/tailwindcss) Updates `webpack-dev-server` from 5.2.3 to 5.2.4 - [Release notes](https://github.com/webpack/webpack-dev-server/releases) - [Changelog](https://github.com/webpack/webpack-dev-server/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-dev-server/compare/v5.2.3...v5.2.4) --- updated-dependencies: - dependency-name: react dependency-version: 19.2.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: react-dom dependency-version: 19.2.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: tailwind-merge dependency-version: 3.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@tailwindcss/postcss" dependency-version: 4.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: cypress dependency-version: 15.15.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: eslint-plugin-cypress dependency-version: 6.4.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: jest dependency-version: 30.4.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: jest-environment-jsdom dependency-version: 30.4.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: tailwindcss dependency-version: 4.3.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: webpack-dev-server dependency-version: 5.2.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump actions/dependency-review-action (#8232) Bumps the dependencies group with 1 update: [actions/dependency-review-action](https://github.com/actions/dependency-review-action). Updates `actions/dependency-review-action` from 4.9.0 to 5.0.0 - [Release notes](https://github.com/actions/dependency-review-action/releases) - [Commits](https://github.com/actions/dependency-review-action/compare/2031cfc080254a8a887f58cffee85186f0e49e48...a1d282b36b6f3519aa1f3fc636f609c47dddb294) --- updated-dependencies: - dependency-name: actions/dependency-review-action dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump lint-staged from 16.4.0 to 17.0.4 (#8234) Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.4.0 to 17.0.4. - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](https://github.com/lint-staged/lint-staged/compare/v16.4.0...v17.0.4) --- updated-dependencies: - dependency-name: lint-staged dependency-version: 17.0.4 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump systeminformation from 5.31.3 to 5.31.6 (#8235) Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 5.31.3 to 5.31.6. - [Release notes](https://github.com/sebhildebrandt/systeminformation/releases) - [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md) - [Commits](https://github.com/sebhildebrandt/systeminformation/compare/v5.31.3...v5.31.6) --- updated-dependencies: - dependency-name: systeminformation dependency-version: 5.31.6 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs: add sourceImport experiment feature (#8157) * docs: add sourceImport experiment feature * docs(experiments): clarify sourceImport scope (WASM-only) and add usage example Address review feedback on #8157: the current 5.106 implementation of experiments.sourceImport is WebAssembly-only, but the docs as written suggested generic source-phase support for any module. Updates the section to: - State explicitly that the current implementation targets WASM and that JavaScript source imports are planned for a future release. - Add a short usage example with the static (import source ...) and dynamic (import.source(...)) syntax for a .wasm import. - Link to the wasm-simple-source-phase example in the webpack repo. Also moves the version badge directly under the heading to match the style of other experiment sections. * docs(guides/tree-shaking): document #__NO_SIDE_EFFECTS__ annotation (#8238) * docs(resolve): document module-sync in default conditionNames (#8237) Webpack 5.107 adds "module-sync" to the default conditionNames for ESM, CJS, AMD, worker, wasm, and build-dependency resolvers, aligning with Node.js. This updates the per-dependency conditionNames defaults table in resolve.mdx and notes the alignment with Node.js's module-sync community condition. Refs: https://github.com/webpack/webpack/pull/20933 * docs(module): document module.parser.css.pure (strict pure mode) (#8245) Webpack 5.107 adds a new pure parser option for css/module and css/auto that mirrors postcss-modules-local-by-default's pure mode. Every selector must contain at least one local class or id, otherwise the build fails. Documents the option, plus the two opt-out comments (/* cssmodules-pure-ignore */ per-rule and /* cssmodules-pure-no-check */ per-file) and the constructs that are exempt by design. Refs: https://github.com/webpack/webpack/pull/20946 * docs(module): exportsConvention function form now accepts string[] (#8240) Webpack 5.107 lets the generator.exportsConvention function for CSS modules return either a string or a string[]. Returning an array exports the local class under every name in the array, matching css-loader's behavior. Updates the type comments in the module.generator example and adds a dedicated subsection with a worked example. Refs: https://github.com/webpack/webpack/pull/20914 * docs(experiments): document CSS scope hoisting and @value in URLs (5.107) (#8244) Webpack 5.107 brings two additions to the experiments.css feature set: - Scope hoisting (module concatenation) now applies to CSS Modules with exportType "text", "css-style-sheet", "style", or "link", reducing runtime overhead in CSS-heavy bundles when optimization.concatenateModules is enabled. - @value identifiers can be used as the path argument to @import and inside url() references, so shared paths/assets are defined once and reused. Both quoted and bare forms are accepted and resolved through webpack's normal asset pipeline. Adds two bullets to the existing experimental features list in experiments.css. Refs: - https://github.com/webpack/webpack/pull/20851 (scope hoisting) - https://github.com/webpack/webpack/pull/20925 (@value in URLs) * docs(module): document module.parser.javascript.anonymousDefaultExportName (#8242) Webpack 5.107 introduces a new JS parser option that controls whether webpack sets .name to "default" on anonymous default-export functions and classes (per the ES spec). The fix-up was added in 5.106 but the extra Object.defineProperty calls inflate bundles, so the option defaults to true for applications and false for libraries (when output.library is set). Documents the option under module.parser.javascript. Refs: https://github.com/webpack/webpack/pull/20894 * docs(compilation-hooks): document CssModulesPlugin.getCompilationHooks() and orderModules (#8248) Webpack 5.107 adds a new orderModules hook on CssModulesPlugin.getCompilationHooks(compilation). It is a SyncBailHook called once per CSS source type (CSS_IMPORT_TYPE and CSS_TYPE) with the chunk's modules pre-sorted by full module name, letting plugin authors override the default import-order topological sort and side-step the "Conflicting order between css ..." warning. Adds a new section at the end of compilation-hooks.mdx documenting both the CssModulesPlugin.getCompilationHooks() entry point and the orderModules hook itself, following the pattern already used in the file for NormalModule.getCompilationHooks().loader. Refs: https://github.com/webpack/webpack/pull/20978 * docs(experiments): document experiments.html and its HTML features (#8243) * docs(experiments): document experiments.html and its HTML behaviors Webpack 5.107 introduces experiments.html, the html-loader side of native HTML module support. With the flag on, importing an HTML file from JavaScript runs its tag references through the webpack pipeline. What this PR documents: - The experiments.html flag and its TOC entry. - The JS-import-HTML usage pattern (no entry-point support yet). - Inline <style> tags routed through the CSS pipeline as virtual exportType: "text" modules, so url() and @import resolve relative to the HTML file. - Inline <script> tags routed through the same entry pipeline as <script src>: classic bodies bundle as CommonJS, type="module" bodies as ESM, tags rewritten to <script src="...">, auto-upgrade to type="module" under output.module. - <script src> and <link rel="modulepreload"> references becoming real webpack entries with shared runtime via dependOn, independent modulepreload chunks, and type="module" auto-upgrade. - webpackIgnore magic comment for HTML (cross-references the existing magic comments docs in api/module-methods). What is explicitly NOT supported in 5.107 (called out in the warning admonition): HTML entry points (the html-webpack-plugin part). That is planned for the next minor release. The full story is tracked in issue #536. Refs: - https://github.com/webpack/webpack/pull/20902 (experiments.html flag) - https://github.com/webpack/webpack/pull/20962 (inline <style>) - https://github.com/webpack/webpack/pull/20967 (inline <script>) - https://github.com/webpack/webpack/pull/20949 (<script src> / modulepreload) - https://github.com/webpack/webpack/pull/20950 (webpackIgnore in HTML) * docs(magic-comments): document webpackIgnore support in HTML modules Webpack 5.107 supports the webpackIgnore magic comment inside HTML modules (when experiments.html is enabled). Placing <!-- webpackIgnore: true --> before a tag skips URL resolution for its src/href/srcset attributes, leaving the tag untouched in the emitted HTML. Adds a new HTML Usage section under the existing webpackIgnore docs in api/module-methods. Refs: https://github.com/webpack/webpack/pull/20950 * docs(externals): document defer/source phase preservation in ESM externals (#8239) * docs(externals): document defer/source phase preservation in ESM externals Webpack 5.107 preserves the defer and source import phase keywords on external dependencies the same way it preserves import attributes. Adds subsections under externalsType.module and externalsType.import showing the static and dynamic forms emitted in the output bundle. Refs: https://github.com/webpack/webpack/pull/20934 * docs(externals): fix broken anchor for import attributes link The reference link pointed to /configuration/module/#ruleparserimportattributes, which does not exist (the fragment-check on PR #8239 failed). Webpack docs have no dedicated "import attributes" page; the closest internal anchor is #rulewith, but that documents Rule.with as a matcher rather than import attributes themselves. Replace the internal link with the TC39 proposal URL so readers can learn what import attributes are. * chore: migrate from yarn to npm (#8249) * chore(deps): bump the dependencies group with 2 updates (#8250) Bumps the dependencies group with 2 updates: [actions/create-github-app-token](https://github.com/actions/create-github-app-token) and [errata-ai/vale-action](https://github.com/errata-ai/vale-action). Updates `actions/create-github-app-token` from 3.1.1 to 3.2.0 - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/create-github-app-token/compare/1b10c78c7865c340bc4f6099eb2f838309f1e8c3...bcd2ba49218906704ab6c1aa796996da409d3eb1) Updates `errata-ai/vale-action` from 2.1.1 to 2.1.2 - [Release notes](https://github.com/errata-ai/vale-action/releases) - [Commits](https://github.com/errata-ai/vale-action/compare/d89dee975228ae261d22c15adcd03578634d429c...85f9f7f2c5f449ac0ae5b66662961bae3f77ca6a) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-version: 3.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: errata-ai/vale-action dependency-version: 2.1.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * blog: Webpack 5.107 (#8236) * docs: add blog post for Webpack 5.107 release highlighting new HTML module support and CSS improvements * docs: update blog post for Webpack 5.107 to include experimental TypeScript support and clarify HTML module integration * docs: refine blog post for Webpack 5.107 to clarify HTML module support and TypeScript integration * docs: enhance blog post for Webpack 5.107 to include details on inline `<script>` tag support * docs: change date * docs: add `orderModules` hook documentation to enhance CSS module ordering * Update changes * docs(experiments): document experiments.typescript (5.107) (#8247) * docs(experiments): document experiments.typescript (5.107) Webpack 5.107 adds first-class TypeScript support behind a new experiments.typescript flag using Node.js's built-in module.stripTypeScriptTypes (Node.js >= 22.6). Documents: - The flag itself (boolean, default false, auto-enabled by experiments.futureDefaults). - The defaults it wires up (rules, extension resolution, extensionAlias, tsconfig resolution, "typescript" conditional-exports key). - The constraints: types-only transform, no type checking, no JSX/.tsx, no non-erasable syntax (enum, namespace, etc.), matching tsconfig's erasableSyntaxOnly. - Links to examples/typescript and examples/typescript-non-erasable in the webpack repo for both the built-in setup and the ts-loader fallback. Refs: https://github.com/webpack/webpack/pull/20964 * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * chore(deps): bump the dependencies group with 6 updates (#8256) Bumps the dependencies group with 6 updates: | Package | From | To | | --- | --- | --- | | [@react-spring/web](https://github.com/pmndrs/react-spring) | `10.0.3` | `10.1.0` | | [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.29.0` | `7.29.7` | | [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.29.5` | `7.29.7` | | [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) | `7.28.5` | `7.29.7` | | [cypress](https://github.com/cypress-io/cypress) | `15.15.0` | `15.16.0` | | [webpack](https://github.com/webpack/webpack) | `5.106.2` | `5.107.2` | Updates `@react-spring/web` from 10.0.3 to 10.1.0 - [Release notes](https://github.com/pmndrs/react-spring/releases) - [Commits](https://github.com/pmndrs/react-spring/compare/v10.0.3...@react-spring/web@10.1.0) Updates `@babel/core` from 7.29.0 to 7.29.7 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.29.7/packages/babel-core) Updates `@babel/preset-env` from 7.29.5 to 7.29.7 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.29.7/packages/babel-preset-env) Updates `@babel/preset-react` from 7.28.5 to 7.29.7 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.29.7/packages/babel-preset-react) Updates `cypress` from 15.15.0 to 15.16.0 - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md) - [Commits](https://github.com/cypress-io/cypress/compare/v15.15.0...v15.16.0) Updates `webpack` from 5.106.2 to 5.107.2 - [Release notes](https://github.com/webpack/webpack/releases) - [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack/compare/v5.106.2...v5.107.2) --- updated-dependencies: - dependency-name: "@react-spring/web" dependency-version: 10.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@babel/core" dependency-version: 7.29.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: "@babel/preset-env" dependency-version: 7.29.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: "@babel/preset-react" dependency-version: 7.29.7 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: cypress dependency-version: 15.16.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: webpack dependency-version: 5.107.2 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update changes * chore(deps-dev): bump tmp from 0.2.5 to 0.2.7 (#8257) Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.5 to 0.2.7. - [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md) - [Commits](https://github.com/raszi/node-tmp/compare/v0.2.5...v0.2.7) --- updated-dependencies: - dependency-name: tmp dependency-version: 0.2.7 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * docs(awesome-webpack): add MDX to loader list (#8258) * chore(deps): bump the dependencies group with 2 updates (#8260) Bumps the dependencies group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [cypress-io/github-action](https://github.com/cypress-io/github-action). Updates `actions/checkout` from 6.0.2 to 6.0.3 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd...df4cb1c069e1874edd31b4311f1884172cec0e10) Updates `cypress-io/github-action` from 7.3.0 to 7.4.0 - [Release notes](https://github.com/cypress-io/github-action/releases) - [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md) - [Commits](https://github.com/cypress-io/github-action/compare/dace029018fcdf86e0df89a31bc3cfa5b32570d8...948d67d3074f1bbb6379c8bdbb04e95d2f8e593f) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: cypress-io/github-action dependency-version: 7.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the dependencies group with 7 updates (#8261) Bumps the dependencies group with 7 updates: | Package | From | To | | --- | --- | --- | | [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `19.2.6` | `19.2.7` | | [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `19.2.6` | `19.2.7` | | [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) | `7.15.1` | `7.16.0` | | [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) | `7.15.1` | `7.16.0` | | [eslint-plugin-mdx](https://github.com/mdx-js/eslint-mdx) | `3.7.0` | `3.8.1` | | [lint-staged](https://github.com/lint-staged/lint-staged) | `17.0.5` | `17.0.7` | | [webpack-cli](https://github.com/webpack/webpack-cli) | `7.0.2` | `7.0.3` | Updates `react` from 19.2.6 to 19.2.7 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react) Updates `react-dom` from 19.2.6 to 19.2.7 - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react-dom) Updates `react-router` from 7.15.1 to 7.16.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@7.16.0/packages/react-router) Updates `react-router-dom` from 7.15.1 to 7.16.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.16.0/packages/react-router-dom) Updates `eslint-plugin-mdx` from 3.7.0 to 3.8.1 - [Release notes](https://github.com/mdx-js/eslint-mdx/releases) - [Changelog](https://github.com/mdx-js/eslint-mdx/blob/master/CHANGELOG.md) - [Commits](https://github.com/mdx-js/eslint-mdx/compare/eslint-plugin-mdx@3.7.0...eslint-plugin-mdx@3.8.1) Updates `lint-staged` from 17.0.5 to 17.0.7 - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](https://github.com/lint-staged/lint-staged/compare/v17.0.5...v17.0.7) Updates `webpack-cli` from 7.0.2 to 7.0.3 - [Release notes](https://github.com/webpack/webpack-cli/releases) - [Changelog](https://github.com/webpack/webpack-cli/blob/main/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@7.0.2...webpack-cli@7.0.3) --- updated-dependencies: - dependency-name: react dependency-version: 19.2.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: react-dom dependency-version: 19.2.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: react-router dependency-version: 7.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: react-router-dom dependency-version: 7.16.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: eslint-plugin-mdx dependency-version: 3.8.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: lint-staged dependency-version: 17.0.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: webpack-cli dependency-version: 7.0.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump the dependencies group with 4 updates (#8263) Bumps the dependencies group with 4 updates: [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router), [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom), [cypress](https://github.com/cypress-io/cypress) and [prettier](https://github.com/prettier/prettier). Updates `react-router` from 7.16.0 to 7.17.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@7.17.0/packages/react-router) Updates `react-router-dom` from 7.16.0 to 7.17.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@7.17.0/packages/react-router-dom) Updates `cypress` from 15.16.0 to 15.17.0 - [Release notes](https://github.com/cypress-io/cypress/releases) - [Changelog](https://gi…
1 parent e0a6608 commit b680949

190 files changed

Lines changed: 30900 additions & 16309 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.babelrc‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
}
99
]
1010
],
11-
"plugins": ["@babel/plugin-proposal-class-properties"],
1211
"env": {
1312
"development": {
1413
"plugins": ["react-refresh/babel"]

‎.github/workflows/testing.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
- run: npm run lint:js
4848
- run: npm run lint:prettier
4949
- run: npm run lint:markdown
50+
- run: npm run lint:spelling
5051

5152
proseLint:
5253
name: Proselint
@@ -68,7 +69,7 @@ jobs:
6869
run: npm install -g mdx2vast
6970

7071
- name: Vale
71-
uses: errata-ai/vale-action@85f9f7f2c5f449ac0ae5b66662961bae3f77ca6a # v2.1.2
72+
uses: errata-ai/vale-action@518a9136acc6e6668ce7c00d367051e0941e87ff # v3.0.0
7273
with:
7374
files: src/content
7475
env:
@@ -96,7 +97,7 @@ jobs:
9697
uses: ./.github/actions/webpack-persistent-cache
9798

9899
- name: Cypress run
99-
uses: cypress-io/github-action@fa4a118725a8f001170d49631ea89e5d66fee626 # v7.4.1
100+
uses: cypress-io/github-action@01e3b659a495b41649cdd0aa82e1d1624e26520b # v7.4.4
100101
with:
101102
browser: chrome
102103
config-file: cypress.config.js

‎cspell.json‎

Lines changed: 226 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,226 @@
1+
{
2+
"version": "0.2",
3+
"language": "en",
4+
"dictionaries": [
5+
"typescript",
6+
"node",
7+
"html",
8+
"css",
9+
"npm",
10+
"softwareTerms",
11+
"fullstack",
12+
"bash"
13+
],
14+
"ignoreRegExpList": [
15+
"/^contributors:\\r?\\n(\\s+-\\s+.*\\r?\\n)+/gm",
16+
"/^\\s+-\\s+title:.*$/gm",
17+
"/^\\s+url:.*$/gm"
18+
],
19+
"ignorePaths": [
20+
"**/.cache/**",
21+
"**/dist/**",
22+
"**/node_modules/**",
23+
"package-lock.json",
24+
"repositories/**",
25+
"src/**/_*.json",
26+
"src/_content.json",
27+
"src/components/__mocks__/**",
28+
"src/content/**/_*.mdx",
29+
"src/content/awesome-webpack.mdx",
30+
"src/utilities/fixtures/**",
31+
"yarn.lock"
32+
],
33+
"words": [
34+
"absolutify",
35+
"abtests",
36+
"accum",
37+
"akait",
38+
"algoliasearch",
39+
"analysable",
40+
"analyse",
41+
"analysed",
42+
"analysing",
43+
"appcache",
44+
"asyncification",
45+
"atproto",
46+
"atrule",
47+
"backupcopy",
48+
"bartushek",
49+
"behaviour",
50+
"behaviours",
51+
"boopathi",
52+
"bootup",
53+
"branchname",
54+
"browserslistrc",
55+
"browsertest",
56+
"Bublé",
57+
"bugfree",
58+
"buildin",
59+
"canonicalroot",
60+
"chenxsan",
61+
"Childs",
62+
"chrisbateman's",
63+
"chunkfilename",
64+
"chunkhash",
65+
"chunkmodules",
66+
"Chunkmy",
67+
"chunkname",
68+
"codemod",
69+
"codemods",
70+
"Cofounder",
71+
"componentname",
72+
"concatenatemodules",
73+
"configtest",
74+
"containedfile",
75+
"containedpath",
76+
"corejs",
77+
"coverjs",
78+
"creativecommons",
79+
"cssmodules",
80+
"customise",
81+
"deamdify",
82+
"debugids",
83+
"delegators",
84+
"dependingfile",
85+
"destructures",
86+
"devserver",
87+
"devserverdevmiddleware",
88+
"devtooling",
89+
"dont",
90+
"effectful",
91+
"esinstall",
92+
"esmodules",
93+
"evaled",
94+
"evanw",
95+
"excurse",
96+
"façade",
97+
"fengari",
98+
"filebase",
99+
"footguns",
100+
"Frontends",
101+
"fullhash",
102+
"GHSA",
103+
"googlef",
104+
"grrizzly",
105+
"gstatic",
106+
"gulpfile",
107+
"handleable",
108+
"harddisk",
109+
"Headmatter",
110+
"henriquea",
111+
"hotspots",
112+
"hrefs",
113+
"Idents",
114+
"importmap",
115+
"initialised",
116+
"inlinable",
117+
"inlines",
118+
"instrumenter",
119+
"jrburke",
120+
"jslinks",
121+
"jsxobj",
122+
"jsxs",
123+
"KGQCZQ",
124+
"Kolhar",
125+
"loadername",
126+
"longhands",
127+
"macbook",
128+
"makuzaverite",
129+
"markdownit",
130+
"maxloh",
131+
"merch",
132+
"meriyah",
133+
"metrohash",
134+
"Mijael",
135+
"minifiers",
136+
"modu",
137+
"modulehash",
138+
"moduleid",
139+
"msal",
140+
"mtimes",
141+
"Multiplicator",
142+
"mysecretkey",
143+
"namedexport",
144+
"neighbour",
145+
"noimport",
146+
"nosources",
147+
"nwjs",
148+
"ooooptions",
149+
"OPENCOLLECTIVE",
150+
"openjs",
151+
"optimizationconcatenatemodules",
152+
"optimizationemitonerrors",
153+
"originalfile",
154+
"outputchunkfilename",
155+
"outputcopy",
156+
"outputpublicpath",
157+
"pathinfo",
158+
"peerigon",
159+
"phin",
160+
"pluginsapi",
161+
"polyfilling",
162+
"precached",
163+
"precaching",
164+
"preloaders",
165+
"prioritise",
166+
"provideplugin",
167+
"publicpath",
168+
"reactvendors",
169+
"recognise",
170+
"recompiles",
171+
"Redirections",
172+
"redownloaded",
173+
"reloadable",
174+
"Requirable",
175+
"resolvemodules",
176+
"Rotater",
177+
"Rspack",
178+
"Rspack’s",
179+
"ruleexclude",
180+
"ruleinclude",
181+
"ruleoptions",
182+
"rulequery",
183+
"ruleuse",
184+
"runtimechunk",
185+
"rynclark",
186+
"sockjs",
187+
"sokra",
188+
"somelib",
189+
"soonish",
190+
"spdy",
191+
"ssgrun",
192+
"subchunks",
193+
"Subdirs",
194+
"sublicensable",
195+
"Subresource",
196+
"substack",
197+
"testapp",
198+
"Threadless",
199+
"timestamping",
200+
"tootallnate",
201+
"traceur",
202+
"transpiles",
203+
"treemap",
204+
"trivago",
205+
"uglifyify",
206+
"uglifyjs",
207+
"unanalyzable",
208+
"uncacheable",
209+
"uniquename",
210+
"unmangleable",
211+
"unminified",
212+
"varunjayaraman",
213+
"Venech",
214+
"waivable",
215+
"watchings",
216+
"webpackfile",
217+
"Webstorm",
218+
"Worklets",
219+
"yoriiis",
220+
"yourregex",
221+
"zoomable",
222+
"zopfli",
223+
"Zstandard",
224+
"इस्तेमाल"
225+
]
226+
}

‎cypress/e2e/check-server-side-rendering.cy.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ describe("server side rendered page", () => {
1212

1313
it("should find html tag with lang", () => {
1414
cy.visit("/");
15-
cy.get('html[lang="ko"]');
15+
cy.get('html[lang="en"]');
1616
});
1717

1818
it("should find meta charset", () => {
1919
cy.visit("/");
2020
cy.get('meta[charset="utf-8"]');
2121
});
2222

23-
it("should find the default meta description", () => {
23+
it("should find the home page meta description", () => {
2424
cy.visit("/");
2525
cy.get('head meta[name="description"]').should(
2626
"have.attr",
2727
"content",
28-
"Webpack은 모듈 번들러입니다. 주요 목적은 브라우저에서 사용할 수 있도록 JavaScript 파일을 번들로 묶는 것이지만, 리소스나 애셋을 변환하고 번들링 또는 패키징할 수도 있습니다.",
28+
"webpack은 JavaScript, CSS, HTML, WebAssembly와 애셋을 브라우저, Node.js, Deno, Bun 및 기타 환경에 최적화된 결과물로 번들링합니다.",
2929
);
3030
});
3131

@@ -34,6 +34,6 @@ describe("server side rendered page", () => {
3434
cy.title().should("eq", "webpack");
3535

3636
cy.visit("/guides/getting-started/");
37-
cy.title().should("eq", "Getting Started | Webpack");
37+
cy.title().should("eq", "Getting Started | webpack");
3838
});
3939
});

‎cypress/support/commands.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Cypress.Commands.add("isNotInViewport", (element) => {
44
cy.get(element).then(($el) => {
5-
// we won't have horizontal scollbar
5+
// we won't have horizontal scrollbar
66
const rect = $el[0].getBoundingClientRect();
77
if (rect.top < 0) {
88
expect(rect.bottom).to.be.lessThan(0);

‎eslint.config.mjs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ export default defineConfig([
3434
],
3535
rules: {
3636
"unicorn/prefer-global-this": "off",
37+
// eslint-import-resolver-node predates `exports` maps, and react-router 8
38+
// is ESM only with no `main`, so the resolver cannot find it.
39+
"import/no-unresolved": ["error", { ignore: ["^react-router$"] }],
3740
},
3841
},
3942
{

‎jest.config.mjs‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,20 @@ export default {
22
verbose: true,
33
testEnvironment: "node",
44
setupFiles: ["./src/setupTests.js"],
5+
// react-router 8 is ESM only, so the component tests that mount a router
6+
// have to be ESM too; .jsx is not an extension node recognizes on its own.
7+
extensionsToTreatAsEsm: [".jsx"],
58
transform: {
69
"^.+\\.(m|c)?jsx?$": "babel-jest",
710
},
811
moduleNameMapper: {
912
"\\.(scss|css)$": "<rootDir>/src/components/__mocks__/styleMock.js",
1013
"\\.svg$": "<rootDir>/src/components/__mocks__/svgMock.js",
1114
"\\.(png|jpg|jpeg|ico)$": "<rootDir>/src/components/__mocks__/fileMock.js",
15+
// ESM resolves the whole import graph up front, so a generated file that is
16+
// absent has to be mapped rather than mocked virtually.
17+
"_supporters\\.json$":
18+
"<rootDir>/src/components/__mocks__/supportersMock.js",
1219
},
1320
moduleFileExtensions: [
1421
"js",

0 commit comments

Comments
 (0)