Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
css-loader 6.11.0 -> 7.1.2 age adoption passing 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 - "after 5pm every weekday,every weekend,before 9am every weekday" in timezone America/Los_Angeles, 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.

@renovate renovate bot added the type: dependencies Dependency upgrades or downgrades. label Apr 7, 2024
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 4 times, most recently from 9e0f897 to 6c5b6be Compare April 15, 2024 11:09
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 6c5b6be to be2de22 Compare April 22, 2024 13:06
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 4ff016b to 1e48489 Compare May 6, 2024 13:35
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 1e48489 to 874abb8 Compare May 13, 2024 09:33
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 9adf497 to 805a8a8 Compare May 27, 2024 12:22
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 805a8a8 to fa74312 Compare June 3, 2024 09:17
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from fa74312 to fc81adc Compare June 10, 2024 09:33
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from 7db9fe2 to 6893127 Compare June 24, 2024 12:10
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from 6893127 to 95439ea Compare July 1, 2024 09:56
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 2 times, most recently from d10dc3a to ba3cacb Compare July 15, 2024 10:29
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 12 times, most recently from 14a5d8e to b2f22ec Compare July 23, 2024 12:49
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 4 times, most recently from 2fd3ad8 to ccf104b Compare September 9, 2024 12:35
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 4 times, most recently from 47d6f38 to 73c06f7 Compare September 23, 2024 09:26
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 5 times, most recently from 207905b to c74283f Compare September 30, 2024 09:33
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 5 times, most recently from a71e308 to f84c75f Compare October 11, 2024 04:07
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 3 times, most recently from 6d0f0c7 to e1fb922 Compare October 14, 2024 09:18
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch 6 times, most recently from 5dcc023 to b351676 Compare October 28, 2024 16:30
@renovate renovate bot force-pushed the renovate/css-loader-7.x branch from b351676 to 1eac79f Compare August 10, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: dependencies Dependency upgrades or downgrades.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants