@marioa/rc-declaration-webpack-plugin
v1.0.1
Published
Create react-commponent's declaration files
Downloads
5
Readme
rc-declaration-webpack-plugin
Create react-commponent's declaration files
Installation
$ yarn add @marioa/rc-declaration-webpack-plugin --dev
Use
// webpack config set
import RcDeclarationWebpackPlugin from '@marioa/rc-declaration-webpack-plugin';
plugins: [new RcDeclarationWebpackPlugin({ declarationDir: './dist/' })];