Files
old-kivi/web/webpack.config.js
2017-11-13 19:26:43 +01:00

24 lines
429 B
JavaScript

module.exports = {
entry: [__dirname + "/src/index.js"],
output: {
path: __dirname + "/dist",
filename: "app.bundle.js",
publicPath: "http://138.68.67.31:8080/"
},
devServer: {
// .. rest of devserver options
host: '0.0.0.0',
disableHostCheck: true
},
module: {
loaders: [
{
test: /.js?$/,
loader: 'babel-loader',
exclude: /node_modules/
}
]
}
}