dojo / webpack-contrib

Plugins and loaders for webpack used with Dojo
Other
4 stars 19 forks source link

Remove sibling selectors before check if class is used on page #342

Open agubler opened 2 years ago

agubler commented 2 years ago

Type: bug

The following has been addressed in the PR:

Description:

Selectors using ~ or + are not added to the BTR output even if the page uses the class. This change removes + and ~ before checking against the pages classes.

codecov[bot] commented 2 years ago

Codecov Report

Merging #342 (c8e7c89) into master (a6dcaf4) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #342   +/-   ##
=======================================
  Coverage   85.52%   85.52%           
=======================================
  Files          54       54           
  Lines        2618     2618           
  Branches      715      715           
=======================================
  Hits         2239     2239           
  Misses        379      379           
Impacted Files Coverage Δ
src/build-time-render/BuildTimeRender.ts 93.78% <ø> (ø)

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 a6dcaf4...c8e7c89. Read the comment docs.