summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-05-20 19:41:54 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-05-20 19:42:11 +0200
commit4258619517fc04a9dde1aa6119c72b7b2d1baea8 (patch)
tree393486910901cf76d8531e8b2f9a6123b74b2bef
parent794ab39a6bba36abf43863ecdbb54b20b41cb634 (diff)
downloadrpgedit-4258619517fc04a9dde1aa6119c72b7b2d1baea8.tar
rpgedit-4258619517fc04a9dde1aa6119c72b7b2d1baea8.zip
Update to build with current versions of nodejsold/canvas2d
-rw-r--r--package.json9
-rw-r--r--static/index.html10
-rw-r--r--webpack.config.js8
3 files changed, 17 insertions, 10 deletions
diff --git a/package.json b/package.json
index 771f0a0..2d2503b 100644
--- a/package.json
+++ b/package.json
@@ -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"
}
}
diff --git a/static/index.html b/static/index.html
new file mode 100644
index 0000000..3d4af86
--- /dev/null
+++ b/static/index.html
@@ -0,0 +1,10 @@
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>RPGedit</title>
+ </head>
+ <body>
+ <script src="bundle.js"></script>
+ </body>
+</html>
diff --git a/webpack.config.js b/webpack.config.js
index 1979538..3bbb7ba 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -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 }
}
};