Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

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

Open
renovate wants to merge 1 commit into master
base: master
Choose a base branch
Loading
from renovate/css-loader-7.x

Conversation

Copy link
Contributor

@renovate renovate bot commented Dec 11, 2024
edited
Loading

This PR contains the following updates:

Package Change Age Confidence
css-loader ^6.7.1 -> ^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)

v6.11.0

Compare Source

Features
Bug Fixes

v6.10.0

Compare Source

Features
  • add @rspack/core as an optional peer dependency (#​1568) (3924679)
  • pass the resourceQuery and resourceFragment to the auto and mode callback (#​1569) (d641c4d)
  • support named exports with any characters (6f43929)
6.9.1 (2024年01月18日)
Bug Fixes
  • css nesting support
  • @scope at-rule support

v6.9.1

Compare Source

Features
  • add @rspack/core as an optional peer dependency (#​1568) (3924679)
  • pass the resourceQuery and resourceFragment to the auto and mode callback (#​1569) (d641c4d)
  • support named exports with any characters (6f43929)
6.9.1 (2024年01月18日)
Bug Fixes
  • css nesting support
  • @scope at-rule support

v6.9.0

Compare Source

Features
  • add @rspack/core as an optional peer dependency (#​1568) (3924679)
  • pass the resourceQuery and resourceFragment to the auto and mode callback (#​1569) (d641c4d)
  • support named exports with any characters (6f43929)
6.9.1 (2024年01月18日)
Bug Fixes
  • css nesting support
  • @scope at-rule support

v6.8.1

Compare Source

Features
Bug Fixes
6.8.1 (2023年05月28日)
Bug Fixes

v6.8.0

Compare Source

Features
Bug Fixes
6.8.1 (2023年05月28日)
Bug Fixes

v6.7.4

Compare Source

Features
  • use template literal when it possible to prevent Maximum call stack size exceeded (#​1525) (6eb5661)
Bug Fixes
6.7.4 (2023年05月19日)
Bug Fixes
6.7.3 (2022年12月14日)
Bug Fixes
6.7.2 (2022年11月13日)
Bug Fixes
6.7.1 (2022年03月08日)
Bug Fixes

v6.7.3

Compare Source

Features
  • use template literal when it possible to prevent Maximum call stack size exceeded (#​1525) (6eb5661)
Bug Fixes
6.7.4 (2023年05月19日)
Bug Fixes
6.7.3 (2022年12月14日)
Bug Fixes
6.7.2 (2022年11月13日)
Bug Fixes
6.7.1 (2022年03月08日)
Bug Fixes

v6.7.2

Compare Source

Features
  • use template literal when it possible to prevent Maximum call stack size exceeded (#​1525) (6eb5661)
Bug Fixes
6.7.4 (2023年05月19日)
Bug Fixes
6.7.3 (2022年12月14日)
Bug Fixes
6.7.2 (2022年11月13日)
Bug Fixes
6.7.1 (2022年03月08日)
Bug Fixes

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) (UTC), 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 from 4814fc4 to d938f55 Compare August 10, 2025 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

0 participants

AltStyle によって変換されたページ (->オリジナル) /