Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/DogPawHat/react-list-interview. Post-interview implementation of a list I was meant to do on a whit
Something went wrong. Try again.
react-list-interview webpack.config.js
12345678910111213141516171819202122232425262728293031323334var path = require('path');
var commonModule = { exclude: /(node_modules|bower_components)/, loaders: [ { test: /\.jsx?$/, loader: 'babel-loader' } ]};
var commonResolve = { alias: { templates: './templates' }, extensions: ['', '.webpack.js', '.web.js', '.js', '.jsx']};
module.exports = [ { entry: './src/index.js', output: { path: path.join(__dirname, "dist"), filename: 'bundle.js' }, target: 'web', debug: true, devtool: 'cheap-module-eval-source-map', devServer: { contentBase: "./dist" }, resolve: commonResolve, module: commonModule, },];