Dependency Manifest
This webpack plugin will create manifest file for all your dependencies.
The plugin will create a JSON from all the external dependencies used by your project from the entry point you defined in your webpack file.
Usage
In your webpack.config.js
:
const DependencyManifestPlugin = require('dependency-manifest-webpack-plugin');
module.exports = {
plugins: [
new DependencyManifestPlugin({
packageLocation: path.join(process.cwd(), 'package.json'),
output: 'dependency-manifest.json',
}),
],
};
The following will generate a manifest file with all the dependencies used by your project with it's versions.
Example:
{
"muject": "1"
}