Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 23, 2024

This PR contains the following updates:

Package Change Age Confidence
css-loader ^6.0.0^7.0.0 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 - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone America/New_York, Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR is behind base branch, 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.

@codecov
Copy link

codecov bot commented Dec 23, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.49%. Comparing base (fb9f3ca) to head (18da11e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #469   +/-   ##
=======================================
  Coverage   98.49%   98.49%           
=======================================
  Files          21       21           
  Lines        1261     1261           
  Branches       75       75           
=======================================
  Hits         1242     1242           
  Misses         19       19           

☔ 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 from b8264ae to bdcc9a3 Compare January 6, 2025 10:58
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 3 times, most recently from b982230 to ee4eecb Compare March 31, 2025 10:12
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from ee4eecb to a398293 Compare April 7, 2025 10:30
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from a398293 to 3c13e69 Compare April 14, 2025 11:37
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 3c13e69 to 51b00f5 Compare April 21, 2025 11:37
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 51b00f5 to 239bf71 Compare May 5, 2025 10:48
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 239bf71 to 4cd7bf4 Compare May 12, 2025 11:23
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 362aba3 to f73f110 Compare May 26, 2025 07:36
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from f73f110 to 4051020 Compare May 26, 2025 13:59
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 4051020 to f1ec8fe Compare June 9, 2025 10:29
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from f1ec8fe to 07db754 Compare June 16, 2025 14:56
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 6dca5a5 to beffd5c Compare August 11, 2025 10:34
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from beffd5c to e0b3e6e Compare August 18, 2025 09:03
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from e0b3e6e to 95067ef Compare August 25, 2025 11:06
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 95067ef to 1a38d57 Compare September 8, 2025 12:03
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 40dd3db to d0f919a Compare September 22, 2025 08:51
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 7a1f65d to 139fbc5 Compare September 29, 2025 11:11
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 8fd9113 to 418bfc0 Compare October 13, 2025 08:43
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 418bfc0 to 8c3be23 Compare October 20, 2025 10:02
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 8c3be23 to 4ac3fc6 Compare October 27, 2025 10:52
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 4ac3fc6 to a196a38 Compare November 3, 2025 11:59
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from a196a38 to ee4c848 Compare November 17, 2025 12:08
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from bf09884 to b2b6a5c Compare November 24, 2025 10:42
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 3 times, most recently from fbbdd55 to fa82370 Compare December 8, 2025 14:01
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from ee7b45f to 5aa114d Compare December 29, 2025 12:31
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 5aa114d to 18da11e Compare January 27, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants