css-loader icon indicating copy to clipboard operation
css-loader copied to clipboard

refactor: `namedExport` option is enabled by default

Open cap-Bernardito opened this issue 4 years ago • 1 comments

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

cap-Bernardito avatar May 05 '21 15:05 cap-Bernardito

Codecov Report

Merging #1304 (75044a1) into next (13b7458) will increase coverage by 0.08%. The diff coverage is 100.00%.

Impacted file tree graph

@@            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 data Powered by Codecov. Last update 13b7458...75044a1. Read the comment docs.

codecov[bot] avatar May 05 '21 15:05 codecov[bot]