Update to build with current versions of nodejs

This commit is contained in:
Matthias Schiffer 2016-05-20 19:41:54 +02:00
parent 794ab39a6b
commit 4258619517
Signed by: neocturne
GPG key ID: 16EF3F64CB201D9C
3 changed files with 17 additions and 10 deletions

View file

@ -6,12 +6,11 @@
},
"dependencies": {
"css-loader": "^0.23.1",
"html-webpack-plugin": "^1.7.0",
"lodash": "^3.10.1",
"style-loader": "^0.13.0",
"style-loader": "^0.13.1",
"ts-loader": "^0.7.2",
"typescript": "^1.7.5",
"webpack": "^1.12.9",
"webpack-dev-server": "^1.14.0"
"typescript": "^1.8.10",
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"
}
}

10
static/index.html Normal file
View file

@ -0,0 +1,10 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>RPGedit</title>
</head>
<body>
<script src="bundle.js"></script>
</body>
</html>

View file

@ -6,11 +6,6 @@ module.exports = {
path: './build',
filename: 'bundle.js'
},
plugins: [
new HtmlWebpackPlugin({
title: 'RPGedit'
})
],
module: {
loaders: [
{ test: /\.css$/, loader: 'style-loader!css-loader' },
@ -19,5 +14,8 @@ module.exports = {
},
resolve: {
extensions: ['', '.ts']
},
ts: {
compilerOptions: { noEmit: false }
}
};