Skip to content

Commit 2a04447

Browse files
authored
Merge pull request #738 from webpack/generator-fixes
Include loaders from contrib to the site
2 parents 2774c98 + ca79ccf commit 2a04447

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

scripts/fetch.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ cp -rf ./content/plugins/ ./generated/plugins
1313
# Fetches github.com/webpack/*-webpack-plugin repositories
1414
./scripts/fetch_package_names.js "webpack" "-webpack-plugin" | ./scripts/fetch_package_files.js "README.md" "./generated/plugins"
1515

16+
# Fetches github.com/webpack-contrib/*-loader repositories
17+
./scripts/fetch_package_names.js "webpack-contrib" "-loader" | ./scripts/fetch_package_files.js "README.md" "./generated/loaders"
18+
1619
# Fetches github.com/webpack-contrib/*-webpack-plugin repositories
1720
./scripts/fetch_package_names.js "webpack-contrib" "-webpack-plugin" | ./scripts/fetch_package_files.js "README.md" "./generated/plugins"

utilities/highlight.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ var highlight = Prism.highlight;
1414
module.exports = function(code, language) {
1515
language = language || 'bash';
1616

17-
if (language === 'sh' || language === 'text') {
17+
if (language === 'sh' || language === 'text' || language === 'shell') {
1818
language = 'bash';
1919
}
2020

0 commit comments

Comments
 (0)