Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency css-loader to v7 #1050

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

valtionavustus-renovate[bot]
Copy link
Contributor

@valtionavustus-renovate valtionavustus-renovate bot commented Apr 4, 2024

This PR contains the following updates:

Package Type Update Change
css-loader devDependencies major ^6.7.1 -> ^7.0.0

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'
          },
        },
      },
    ],
  },
};
  • 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 - "every weekend,after 5pm,before 5am" (UTC), Automerge - "every weekend,after 5pm and before 5am" (UTC).

🚦 Automerge: Enabled.

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 has been generated by Renovate Bot.

@valtionavustus-renovate valtionavustus-renovate bot force-pushed the github-renovate/css-loader-7.x branch 18 times, most recently from f801454 to 8dc30cf Compare April 11, 2024 19:02
@valtionavustus-renovate valtionavustus-renovate bot force-pushed the github-renovate/css-loader-7.x branch 11 times, most recently from b855223 to a0cce1c Compare April 15, 2024 12:20
@valtionavustus-renovate valtionavustus-renovate bot force-pushed the github-renovate/css-loader-7.x branch 23 times, most recently from 6d871c5 to 82f8e73 Compare May 20, 2024 19:37
@valtionavustus-renovate valtionavustus-renovate bot force-pushed the github-renovate/css-loader-7.x branch 5 times, most recently from 4c93acb to 7011754 Compare May 22, 2024 21:39
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.

None yet

0 participants