portfolio/packages/gallery/webpack.config.js
Timothy Farrell b874c07f01 Add Gallery - core image model working
(add, imported event, thumbnail generation, removal)
2017-03-22 08:32:47 -05:00

19 lines
368 B
JavaScript

const path = require('path');
const webpack = require('webpack');
module.exports = {
context: path.resolve(__dirname, './src'),
entry: {
app: './app.js'
},
output: {
path: path.resolve(__dirname, './dist'),
filename: '[name].bundle.js',
publicPath: '/assets'
},
devServer: {
contentBase: path.resolve(__dirname, './src')
},
devtool: 'source-map'
};