css-loader
css-loader copied to clipboard
refactor: `namedExport` option is enabled by default
This PR contains a:
- [ ] bugfix
- [ ] new feature
- [x] code refactor
- [x] test update
- [ ] typo fix
- [x] metadata update
Motivation / Use-Case
namedExport option is enabled by default
Breaking Changes
When the namedExport option is enabled there are restrictions in the naming of css classes.
More in readmy
Additional Info
No
Codecov Report
Merging #1304 (75044a1) into next (13b7458) will increase coverage by
0.08%. The diff coverage is100.00%.
@@ Coverage Diff @@
## next #1304 +/- ##
==========================================
+ Coverage 98.22% 98.31% +0.08%
==========================================
Files 11 11
Lines 844 889 +45
Branches 283 298 +15
==========================================
+ Hits 829 874 +45
Misses 12 12
Partials 3 3
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/plugins/postcss-icss-parser.js | 100.00% <ø> (ø) |
|
| src/plugins/postcss-import-parser.js | 100.00% <ø> (ø) |
|
| src/plugins/postcss-url-parser.js | 97.63% <ø> (ø) |
|
| src/index.js | 100.00% <100.00%> (ø) |
|
| src/runtime/getUrl.js | 100.00% <100.00%> (ø) |
|
| src/utils.js | 97.45% <100.00%> (+0.30%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 13b7458...75044a1. Read the comment docs.