import path from 'path'; export default { devtool: 'eval', entry: './src/index', output: { path: path.join(__dirname, '../resources/static/dist'), filename: 'bundle.js', publicPath: '/static/', }, module: { loaders: [{ test: /\.js$/, loaders: ['babel'], exclude: /node_modules/, include: __dirname, }], }, };