summaryrefslogtreecommitdiff
path: root/node_modules/iso-639-1/webpack.config.js
blob: 1fff0a0fa03101f9cfac43fa32f9330b2d2d3310 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
const path = require('path');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');

// webpack configuration
let webpackConfig = {
  mode: 'production',
  entry: {
    index: './src/index.js',
  },
  output: {
    path: path.resolve(__dirname, `./build`),
    filename: '[name].js',
    library: 'ISO6391',
  },
  plugins: [
    new CleanWebpackPlugin(),
  ],
};

module.exports = webpackConfig;