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 css-loader #2690

Merged
merged 1 commit into from Oct 13, 2020
Merged

Update css-loader #2690

merged 1 commit into from Oct 13, 2020

Conversation

pustovalov
Copy link
Contributor

@pustovalov pustovalov commented Aug 8, 2020

closes: #2746

https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md

4.3.0 (2020-09-08)

Features

Bug Fixes

  • line breaks in url function (88b8ddc)

4.2.1 (2020-08-06)

Bug Fixes

  • regression with the exportOnlyLocals option, now locals are not exported under the locals name, it was big regression, we apologize for that (24c0a12)

4.2.0 (2020-07-31)

Features

  • add module.type option, the icss option is deprecated (#1150) (68f72af)

4.1.1 (2020-07-30)

Bug Fixes

4.1.0 (2020-07-29)

Features

Bug Fixes

4.0.0 (2020-07-25)

⚠ BREAKING CHANGES

  • minimum required Node.js version is 10.13.0
  • minimum required webpack version is 4.27.0
  • the esModule option is true by default
  • default value of the sourceMap option depends on the devtool option
  • icss plugin disable by default, you need to setup the modules option to enable it
  • the modules option is true by default for all files matching /\.module\.\w+$/i.test(filename) regular expression, module.auto is true by default
  • the modules.context option was renamed to the modules.localIdentContext option
  • default the modules.localIdentContext value is compiler.context for the module.getLocalIdent option
  • the modules.hashPrefix option was renamed to the modules.localIdentHashPrefix option
  • the localsConvention option was moved and renamed to the modules.exportLocalsConvention option
  • the getLocalIndent option should be always Function and should always return String value
  • the onlyLocals option was moved and renamed to the modules.exportOnlyLocals option
  • function arguments of the import option were changed, it is now function(url, media, resourcePath) {}
  • inline syntax was changed, please write ~ before the file request, i.e. rewrite url(~!!loader!package/img.png) to url(!!loader!~package/img.png)

Features

  • @value supports importing url() (#1126) (7f49a0a)
  • improve url() resolving algorithm (bc19ddd)
  • named export for locals (#1108) (d139ec1)
  • respected the style field from package.json (#1099) (edf5347)
  • support file: protocol (5604205)
  • support server relative URLs

Bug Fixes

  • resolution algorithm, you don't need ~ inside packages in node_modules (76f1480)

3.6.0 (2020-06-13)

Features

  • allow modules.auto to be a filter function (#1086) (0902353)

@gauravtiwari
Copy link
Member

Please rebase and I will merge

@pustovalov
Copy link
Contributor Author

@gauravtiwari done

@gauravtiwari gauravtiwari merged commit b2a1fd4 into rails:master Oct 13, 2020
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.

Updating the CSS-Loader to 4.x
2 participants