const merge = require('webpack-merge'); const path = require('path'); const umdConfig = require('../base/webpack.config.umd'); module.exports = merge(umdConfig, { entry: { index: path.resolve(__dirname, '../../src/index.ts') } });