aboutsummaryrefslogtreecommitdiffstats
path: root/webpack.config.js
blob: dfb07f401a30b5f7edb15e43a1a72a4ba0b63140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const path = require('path');

module.exports = {
	entry: './src/index.js',
	output: {
		filename: 'bundle.js',
		path: path.resolve(__dirname, 'dist'),
	},
	devServer: {
		contentBase: './dist',
	},
	module: {
		rules: [
			{
				test: path.resolve(__dirname, 'tag-versions'),
				loader: 'csv-loader',
				options: {
					delimiter: '\t', newline: '\n',
				}
			},
		],
	},
};