Skip to content

Comments

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

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/css-loader-7.x
Open

chore(deps): update dependency css-loader to v7#50
renovate[bot] wants to merge 1 commit intomainfrom
renovate/css-loader-7.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
css-loader ^6.7.1^7.0.0 age adoption passing confidence

Release Notes

webpack/css-loader (css-loader)

v7.1.4

Compare Source

v7.1.3

Compare Source

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 force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 680845f to 476b0ec Compare August 13, 2025 11:36
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 476b0ec to fd045bb Compare August 19, 2025 13:47
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from fd045bb to faad096 Compare August 31, 2025 09:46
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from faad096 to 1488046 Compare September 25, 2025 16:55
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 1488046 to 50cb600 Compare October 22, 2025 01:55
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 50cb600 to e256100 Compare November 10, 2025 17:41
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from e256100 to d6daf2b Compare November 18, 2025 19:50
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from d6daf2b to 49e9db0 Compare December 3, 2025 18:38
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 49e9db0 to d98d813 Compare December 31, 2025 13:36
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from d98d813 to 67a1939 Compare January 8, 2026 19:27
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 971555d to dd0f30e Compare January 23, 2026 17:42
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 11a7d34 to 25be3da Compare February 2, 2026 21:10
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 25be3da to 9b51da9 Compare February 12, 2026 11:30
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 9b51da9 to c6b4eb0 Compare February 16, 2026 17:43
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