const path = require('path')
const webpack = require('webpack')
const { merge } = require('webpack-merge')
const { getDefaultConfiguration } = require('../../webpack.config')

module.exports = merge(getDefaultConfiguration(), {
  entry: './dist/npm/index.js',
  // overriding the output path and filename
  output: {
    library: 'xahau',
    path: path.join(__dirname, 'build/'),
    filename: `xahau.default.js`,
  },
})
