const path = require('path');
const merge = require('webpack-merge');

const umdConfig = require('../../../../scripts/webpack/webpack.config')
  .umdConfig;

const rootPath = process.cwd();

module.exports = merge(umdConfig, {
  output: {
    library: 'rtwCore',
  },
  entry: {
    index: path.resolve(rootPath, './src/index.ts'),
  },
});
