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