Skip to content

chore(deps): update dependency css-loader to v7 - #919

Merged
lodewiges merged 1 commit into
stagingfrom
renovate/css-loader-7.x
Nov 23, 2025
Merged

chore(deps): update dependency css-loader to v7#919
lodewiges merged 1 commit into
stagingfrom
renovate/css-loader-7.x

Conversation

@renovate

@renovate renovate Bot commented Apr 4, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
css-loader ^6.11.0 -> ^7.1.2 age confidence

Release Notes

webpack-contrib/css-loader (css-loader)

v7.1.2

Compare Source

v7.1.1

Compare Source

v7.1.0

Compare Source

Features
  • added the getJSON option to output CSS modules mapping (#​1577) (af834b4)

v7.0.0

Compare Source

⚠ BREAKING CHANGES
  • The modules.namedExport option is true by default if you enable the esModule option

Migration guide:

Before:

import style from "./style.css";

console.log(style.myClass);

After:

import * as style from "./style.css";

console.log(style.myClass);

To restore 6.x behavior, please use:

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        loader: "css-loader",
        options: {
          modules: {
            namedExport: false,
            exportLocalsConvention: 'as-is',
            //
            // or, if you prefer camelcase style
            //
            // exportLocalsConvention: 'camel-case-only'
          },
        },
      },
    ],
  },
};

Typescript migration:

Before:

declare module '*.module.css' {
  const classes: { [key: string]: string };
  export default classes;
}

After:

declare module '*.module.css' {
  const classes: { [key: string]: string };
  export = classes;
}
  • The modules.exportLocalsConvention has the value as-is when the modules.namedExport option is true and you don't specify a value
  • Minimum supported webpack version is 5.27.0
  • Minimum supported Node.js version is 18.12.0
Features
  • The modules.namedExports option works fine with any modules.exportLocalsConvention values (f96a110)
  • Added dashed variants for the modules.exportLocalsConvention options (40e1668)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Apr 4, 2024
@renovate
renovate Bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 799ed98 to ff7bd34 Compare April 10, 2024 17:10
@renovate
renovate Bot force-pushed the renovate/css-loader-7.x branch from ff7bd34 to cc24db6 Compare May 22, 2024 16:29
@renovate renovate Bot changed the title chore(deps): update dependency css-loader to v7 chore(deps): update dependency css-loader to v7 - autoclosed Dec 8, 2024
@renovate renovate Bot closed this Dec 8, 2024
@renovate
renovate Bot deleted the renovate/css-loader-7.x branch December 8, 2024 19:01
@renovate renovate Bot changed the title chore(deps): update dependency css-loader to v7 - autoclosed chore(deps): update dependency css-loader to v7 Dec 9, 2024
@renovate renovate Bot reopened this Dec 9, 2024
@renovate
renovate Bot force-pushed the renovate/css-loader-7.x branch from 3a18537 to cc24db6 Compare December 9, 2024 06:15
@codecov

codecov Bot commented Dec 9, 2024

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.27%. Comparing base (5c9e3c6) to head (72e2051).
⚠️ Report is 11 commits behind head on staging.

Additional details and impacted files
@@           Coverage Diff            @@
##           staging     #919   +/-   ##
========================================
  Coverage    75.27%   75.27%           
========================================
  Files           50       50           
  Lines         1076     1076           
========================================
  Hits           810      810           
  Misses         266      266           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate
renovate Bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 24aeb91 to 70a4616 Compare January 8, 2025 17:18
@renovate
renovate Bot force-pushed the renovate/css-loader-7.x branch from 70a4616 to e7ec659 Compare October 8, 2025 22:53
@renovate
renovate Bot force-pushed the renovate/css-loader-7.x branch from e7ec659 to 4327720 Compare October 25, 2025 16:16
@coderabbitai

coderabbitai Bot commented Oct 25, 2025

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate
renovate Bot force-pushed the renovate/css-loader-7.x branch from 4327720 to 7414aa7 Compare October 27, 2025 16:13
@renovate
renovate Bot force-pushed the renovate/css-loader-7.x branch from 7414aa7 to 4271542 Compare November 10, 2025 14:11
@renovate
renovate Bot force-pushed the renovate/css-loader-7.x branch from 4271542 to fdefa8e Compare November 19, 2025 23:33
@renovate
renovate Bot force-pushed the renovate/css-loader-7.x branch from fdefa8e to 72e2051 Compare November 21, 2025 16:48
@lodewiges
lodewiges enabled auto-merge November 23, 2025 20:53
@lodewiges
lodewiges added this pull request to the merge queue Nov 23, 2025
Merged via the queue into staging with commit ce82853 Nov 23, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant