diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-01-05 11:57:23 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-01-05 11:57:23 +0100 |
commit | b5d7041f97303dbddad9d69f47fcde6277a8a4c9 (patch) | |
tree | 8df65b8c794eb4f2aafb7730277713384a1162bf /webpack.config.js | |
download | rpgedit-b5d7041f97303dbddad9d69f47fcde6277a8a4c9.tar rpgedit-b5d7041f97303dbddad9d69f47fcde6277a8a4c9.zip |
Initial build infrastructure
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 18 |
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'] + } +}; |