webssh2/webpack.config.js
billchurch 52f5ba1dad cleanup of public and supporting files
/public is now volatile, any changes to templates should be made in
/src and then run either “npm run build” or “npm run builder”
2018-02-06 12:11:39 -05:00

15 lines
292 B
JavaScript

const path = require('path')
module.exports = {
entry: './src/js/index.js',
output: {
path: path.resolve(__dirname, 'public/'),
filename: 'bundle.js'
},
devtool: 'source-map',
module: {
loaders: [
{ test: /\.css$/, loader: 'style-loader!css-loader' }
]
}
}