Update css-loader to the latest version 🚀 #104
Merged
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
The devDependency css-loader was updated from
1.0.1to2.0.0.This version is not covered by your current version range.
If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
Release Notes for v2.0.0
2.0.0 (2018-12-07)
The main BREAKING CHANGES:
modulesoption. You can setup their usinglocal(trueis alias for this value) andglobal(previous behaviour) value. Why it is disabled by default? A lot of developers usecsswithout css modules features and they get performance problems duepostcssplugins spend time on analyze and processing file.uls()andimportat-rules works the same everywhere, it does not matter whether css modules are enabled (withglobalandlocalmodule) or not. Examples -url('image.png')asrequire('./image.png'),url('./image.png')asrequire('./image.png'),url('~module/image.png')asrequire('module/image.png').Bug Fixes
urls()with?#hash(#803) (417d105)importat-rules (#806) (4bdf08b)URLinimportat-rules (#818) (3ebdcd5)requireforurls()(#854) (3338656)composes(#845) (453248f)urls()resolving logic formodules(localandglobal) and without modules (#843) (fdcf687)Features
importoption doesn't affect oncomposes(#822) (f9aa73c)urls(#856) (5e702e7)importat-rules (#857) (5e6034c)urls()(#832) (da95db8)exportOnlyLocalsoption (#824) (e9327c0)postcssast from other loaders (i.epostcss-loader) (#840) (1dad1fb)BREAKING CHANGES
uls()andimportat-rules works the same everywhere, it does not matter whether css modules are enabled (withglobalandlocalmodule) or not. Examples -url('image.png')asrequire('./image.png'),url('./image.png')asrequire('./image.png'),url('~module/image.png')asrequire('module/image.png').modules: falsedisable all css modules features), you can return old behaviour change this onmodules: 'global'css-loader/localswas dropped in favorexportOnlyLocalsoptionimportoption only affect onimportat-rules and doesn't affect oncomposesdeclarations@importat rules now emit warningspostcss@7Bonus
postcssast increase performanceCommits
The new version differs by 67 commits.
634ab49chore(release): 2.0.06ade2d0refactor: remove unused file (#860)e7525c9test: nested url (#859)7259faatest: css hacks (#858)5e6034cfeat: allow to filter import at-rules (#857)5e702e7feat: allow filtering urls (#856)9642aa5test: css stuff (#855)3338656fix: reduce number of require for url (#854)533abbetest: issue 636 (#853)08c551crefactor: better warning on invalid url resolution (#852)b0aa159test: issue #589 (#851)f599c70fix: broken unucode characters (#850)1e551f3test: issue 286 (#849)419d27bdocs: improve readme (#848)d94a698refactor: webpack-default (#847)There are 67 commits in total.
See the full diff
FAQ and help
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper bot 🌴