const TsDeclarationWebpackPlugin = require('ts-declaration-webpack-plugin');
 
module.exports = {
    entry: {
        app: './src/index.ts',
        component: './src/component.tsx',
    },
    output: {
        path: path.resolve('./dist'),
        filename: '[name].js',
    },
    plugins: [
        new TsDeclarationWebpackPlugin(),
    ]
}