Files
TechRadarAJR/webpack.config.js
2017-02-20 20:12:34 +01:00

25 lines
414 B
JavaScript

var path = require('path');
module.exports = {
entry: {
bundle: './js/client.js',
},
output: {
path: path.join(__dirname, 'dist'),
filename: '[name].js',
},
module: {
rules: [
{
test: /\.js?$/,
include: [
path.resolve(__dirname, "js"),
path.resolve(__dirname, "common"),
],
loader: "babel-loader",
},
],
},
}