Skip to content

Commit 578bba1

Browse files
committed
Update webpack documentation (5.64.4)
1 parent b12e651 commit 578bba1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/docs/filters/webpack/clean_html.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ def call
2020
node.parent.content = node.parent.content
2121
end
2222

23+
css('*').each do |node|
24+
node.remove if node['class'] && node['class'][/print:hidden/]
25+
end
26+
2327
# for webpack-contrib /loaders and /plugins
2428
shields = at_css('img[src*="shields.io"]')
2529
shields.ancestors('p')[0].remove if shields

lib/docs/scrapers/webpack.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Webpack < UrlScraper
3636
HTML
3737

3838
version '5' do
39-
self.release = '5.59.1'
39+
self.release = '5.64.4'
4040
self.base_url = 'https://webpack.js.org/'
4141
end
4242

0 commit comments

Comments
 (0)