initial commit
Signed-off-by: Jyri Genral <jyri.eerola@jrd.fi>
This commit is contained in:
commit
a9e1501e48
12 changed files with 6006 additions and 0 deletions
15
fe/server.js
Normal file
15
fe/server.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
var webpack = require('webpack');
|
||||
var WebpackDevServer = require('webpack-dev-server');
|
||||
var config = require('./webpack.config');
|
||||
|
||||
new WebpackDevServer(webpack(config), {
|
||||
publicPath: config.output.publicPath,
|
||||
hot: false,
|
||||
historyApiFallback: true
|
||||
}).listen(3000, 'localhost', function (err, result) {
|
||||
if (err) {
|
||||
console.log(err);
|
||||
}
|
||||
|
||||
console.log('Listening at localhost:3000');
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue