text: const path = require('path');
  const webpack = require('webpack');
  
  let entry = {
    "index" : ["./src/index"],
  };
  
  module.exports = {
    plugins: [
      new webpack.optimize.AggressiveMergingPlugin(),
      new webpack.optimize.UglifyJsPlugin()
    ],
    
    entry : entry,
  
    output: {
      publicPath: '/',
      sourcePrefix: '',
      path: __dirname + "/dest",
      filename: '[name].js',
      libraryTarget: "umd"
    },
  
    target: "web",
  
    resolve: {
      extensions: ['.ts', '.tsx', '.js', '.jsx'],
    },
    
    devtool : 'inline-source-map',
  
    module : {
      rules: [
        {
          test: /\.(js|jsx)?$/,
          loader : 'babel-loader',
          exclude : /node_modules/,
          include : __dirname + "/src/js"
        },
        
        {
          test: /\.(ts|tsx)?$/,
          loader : ["babel-loader", "ts-loader"],
          exclude : /node_modules/,
          include : [__dirname + "/src", __dirname + "/example"]
        },
      ]
    }
  };