Skip to content

DostalTomas/webpack-config-dump-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[Webpack plugin] Dump Webpack Config into file system

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.

MIT License

Installation

npm i webpack-config-dump-plugin --save-dev

Usage

const WebpackConfigDumpPlugin = require('webpack-config-dump-plugin')

// webpack config
{
  plugins: [
    new WebpackConfigDumpPlugin(options)
  ]
}

Options and defaults (Optional)

{
  // 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           

}

About

A webpack plugin to cache compiled webpack config on the file system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%