1.0.7 • Published 4 years ago

extract-metadata-webpack-plugin v1.0.7

Weekly downloads
7
License
ISC
Repository
github
Last release
4 years ago

extract-metadata-webpack-plugin

This plugin does the same as react-docgen, but faster.

How to install

With NPM:

npm i extract-metadata-webpack-plugin --save-dev

With Yarn:

yarn add extract-metadata-webpack-plugin --dev

How to use

Just import the plugin from node_modules and add plugin to the webpack config like that:

const ExtractMetadataPlugin = require('extract-metadata-webpack-plugin');
...
...
module.exports = {
  ...
  plugins: [
    new ExtractMetadataPlugin({
      source: 'src/**/*.jsx',
      receiver: 'lib/metadata.json'
    })
  ],
}
1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago