Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/content/plugins/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Webpack has a rich plugin interface. Most of the features within webpack itself
| [`MiniCssExtractPlugin`](/plugins/mini-css-extract-plugin) | creates a CSS file per JS file which requires CSS |
| [`NoEmitOnErrorsPlugin`](/configuration/optimization/#optimizationemitonerrors) | Skip the emitting phase when there are compilation errors |
| [`NormalModuleReplacementPlugin`](/plugins/normal-module-replacement-plugin) | Replace resource(s) that matches a regexp |
| [`NpmInstallWebpackPlugin`](/plugins/install-webpack-plugin) | Auto-install missing dependencies during development |
| [`ProgressPlugin`](/plugins/progress-plugin) | Report compilation progress |
| [`ProvidePlugin`](/plugins/provide-plugin) | Use modules without having to use import/require |
| [`SourceMapDevToolPlugin`](/plugins/source-map-dev-tool-plugin) | Enables a more fine grained control of source maps |
Expand Down
14 changes: 3 additions & 11 deletions src/utilities/fetch-package-repos.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,14 @@ const stat = promisify(fs.stat);

const fetch = {
loaders: [
{
organization: 'webpack-contrib',
suffixes: ['-loader'],
hides: excludedLoaders,
},
{
organization: 'webpack',
suffixes: ['-loader'],
hides: [],
hides: excludedLoaders,
},
'babel/babel-loader',
],
plugins: [
{
organization: 'webpack-contrib',
suffixes: ['-webpack-plugin', '-extract-plugin'],
hides: excludedPlugins,
},
{
organization: 'webpack',
suffixes: ['-webpack-plugin', '-extract-plugin'],
Expand Down Expand Up @@ -66,6 +56,8 @@ async function main() {

const repos = await paginate(organization);

console.log(repos);

return repos
.map((repo) => repo.full_name)
.filter((name) => suffixes.some((suffix) => name.endsWith(suffix)))
Expand Down
Loading