From b5d7041f97303dbddad9d69f47fcde6277a8a4c9 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 5 Jan 2016 11:57:23 +0100 Subject: Initial build infrastructure --- webpack.config.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 webpack.config.js (limited to 'webpack.config.js') 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'] + } +}; -- cgit v1.2.3