summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-01-05 11:57:23 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-01-05 11:57:23 +0100
commitb5d7041f97303dbddad9d69f47fcde6277a8a4c9 (patch)
tree8df65b8c794eb4f2aafb7730277713384a1162bf /webpack.config.js
downloadrpgedit-b5d7041f97303dbddad9d69f47fcde6277a8a4c9.tar
rpgedit-b5d7041f97303dbddad9d69f47fcde6277a8a4c9.zip
Initial build infrastructure
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js
new file mode 100644
index 0000000..20a6165
--- /dev/null
+++ b/webpack.config.js
@@ -0,0 +1,18 @@
+var HtmlWebpackPlugin = require('html-webpack-plugin');
+
+module.exports = {
+ entry: './src/app.coffee',
+ output: {
+ path: './build',
+ filename: 'bundle.js'
+ },
+ plugins: [new HtmlWebpackPlugin()],
+ module: {
+ loaders: [
+ { test: /\.coffee$/, loader: 'coffee-loader' }
+ ]
+ },
+ resolve: {
+ extensions: ['', '.js', '.json', '.coffee']
+ }
+};