Skip to content

Commit 539ccb2

Browse files
fix: do not fetch webpack contrib (#7716)
1 parent a859968 commit 539ccb2

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

src/content/plugins/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Webpack has a rich plugin interface. Most of the features within webpack itself
3535
| [`MiniCssExtractPlugin`](/plugins/mini-css-extract-plugin) | creates a CSS file per JS file which requires CSS |
3636
| [`NoEmitOnErrorsPlugin`](/configuration/optimization/#optimizationemitonerrors) | Skip the emitting phase when there are compilation errors |
3737
| [`NormalModuleReplacementPlugin`](/plugins/normal-module-replacement-plugin) | Replace resource(s) that matches a regexp |
38-
| [`NpmInstallWebpackPlugin`](/plugins/install-webpack-plugin) | Auto-install missing dependencies during development |
3938
| [`ProgressPlugin`](/plugins/progress-plugin) | Report compilation progress |
4039
| [`ProvidePlugin`](/plugins/provide-plugin) | Use modules without having to use import/require |
4140
| [`SourceMapDevToolPlugin`](/plugins/source-map-dev-tool-plugin) | Enables a more fine grained control of source maps |

src/utilities/fetch-package-repos.mjs

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,14 @@ const stat = promisify(fs.stat);
1515

1616
const fetch = {
1717
loaders: [
18-
{
19-
organization: 'webpack-contrib',
20-
suffixes: ['-loader'],
21-
hides: excludedLoaders,
22-
},
2318
{
2419
organization: 'webpack',
2520
suffixes: ['-loader'],
26-
hides: [],
21+
hides: excludedLoaders,
2722
},
2823
'babel/babel-loader',
2924
],
3025
plugins: [
31-
{
32-
organization: 'webpack-contrib',
33-
suffixes: ['-webpack-plugin', '-extract-plugin'],
34-
hides: excludedPlugins,
35-
},
3626
{
3727
organization: 'webpack',
3828
suffixes: ['-webpack-plugin', '-extract-plugin'],
@@ -66,6 +56,8 @@ async function main() {
6656

6757
const repos = await paginate(organization);
6858

59+
console.log(repos);
60+
6961
return repos
7062
.map((repo) => repo.full_name)
7163
.filter((name) => suffixes.some((suffix) => name.endsWith(suffix)))

0 commit comments

Comments
 (0)