Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@keik/unused-files-webpack-plugin
Advanced tools
Glob all files that are not compiled by webpack under webpack's context
Glob all files that are not compiled by webpack under webpack's context
Install with npm:
npm i --save-dev unused-files-webpack-plugin
Install with yarn:
yarn add --dev unused-files-webpack-plugin
webpack.config.babel.js
import UnusedFilesWebpackPlugin from "unused-files-webpack-plugin";
export default {
plugins: [
new UnusedFilesWebpackPlugin(options),
],
};
webpack.config.js
const { UnusedFilesWebpackPlugin } = require("unused-files-webpack-plugin");
module.exports = {
plugins: [
new UnusedFilesWebpackPlugin(options),
],
};
new UnusedFilesWebpackPlugin(options)
The (array of) pattern(s) to glob all files within the context.
["**/*.*"]
glob-all(patterns)
Emit error instead of warning in webpack compilation result.
false
true
to enable this featureThe options object pass to second parameter of glob-all
.
{ignore: "node_modules/**/*"}
glob-all(pattern, globOptions)
, which then pass to glob(…, globOptions)
Ignore pattern for glob. Can be a String or an Array of String.
"node_modules/**/*"
options.ignore
Current working directory for glob. If you don't set explicitly, it defaults to the context
specified by your webpack compiler at runtime.
webpackCompiler.context
options.cwd
context
in webpackgit checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Glob all files that are not compiled by webpack under webpack's context
The npm package @keik/unused-files-webpack-plugin receives a total of 244 weekly downloads. As such, @keik/unused-files-webpack-plugin popularity was classified as not popular.
We found that @keik/unused-files-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.