A webpack plugin to dump compiled webpack config into file system. Is useful in case you have resolve aliases formed dynamicaly and want your IDE to be able to handle them.
Note that functions will be excluded from the final dump.
npm i webpack-config-dump-plugin --save-dev
const WebpackConfigDumpPlugin = require('webpack-config-dump-plugin')
// webpack config
{
plugins: [
new WebpackConfigDumpPlugin(options)
]
}
{
// Path to store config dump
outputPath: './',
// Config dump filename
name: 'webpack.config.dump',
// Config depth. Since webpack config is circulary locked,
// we can't dump whole config. This parameter sets how deep
// config dump will be stored
depth: 4
}