const defaultConfig = require( '@wordpress/scripts/config/webpack.config' );
const path          = require( 'path' );

module.exports = {
  ...defaultConfig,
  entry: {
    index: path.resolve( __dirname, 'src/index.tsx' ),
  },
  output: {
    ...defaultConfig.output,
    path: path.resolve( __dirname, 'build' ),
  },
};
