summaryrefslogtreecommitdiffstats
path: root/webpack.config.js
diff options
context:
space:
mode:
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']
+ }
+};