Update to build with current versions of nodejs
This commit is contained in:
parent
794ab39a6b
commit
4258619517
3 changed files with 17 additions and 10 deletions
|
@ -6,12 +6,11 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"css-loader": "^0.23.1",
|
"css-loader": "^0.23.1",
|
||||||
"html-webpack-plugin": "^1.7.0",
|
|
||||||
"lodash": "^3.10.1",
|
"lodash": "^3.10.1",
|
||||||
"style-loader": "^0.13.0",
|
"style-loader": "^0.13.1",
|
||||||
"ts-loader": "^0.7.2",
|
"ts-loader": "^0.7.2",
|
||||||
"typescript": "^1.7.5",
|
"typescript": "^1.8.10",
|
||||||
"webpack": "^1.12.9",
|
"webpack": "^1.13.1",
|
||||||
"webpack-dev-server": "^1.14.0"
|
"webpack-dev-server": "^1.14.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
10
static/index.html
Normal file
10
static/index.html
Normal 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>
|
|
@ -6,11 +6,6 @@ module.exports = {
|
||||||
path: './build',
|
path: './build',
|
||||||
filename: 'bundle.js'
|
filename: 'bundle.js'
|
||||||
},
|
},
|
||||||
plugins: [
|
|
||||||
new HtmlWebpackPlugin({
|
|
||||||
title: 'RPGedit'
|
|
||||||
})
|
|
||||||
],
|
|
||||||
module: {
|
module: {
|
||||||
loaders: [
|
loaders: [
|
||||||
{ test: /\.css$/, loader: 'style-loader!css-loader' },
|
{ test: /\.css$/, loader: 'style-loader!css-loader' },
|
||||||
|
@ -19,5 +14,8 @@ module.exports = {
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
extensions: ['', '.ts']
|
extensions: ['', '.ts']
|
||||||
|
},
|
||||||
|
ts: {
|
||||||
|
compilerOptions: { noEmit: false }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Reference in a new issue