This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
rpgedit/webpack.config.js

24 lines
465 B
JavaScript
Raw Normal View History

2016-01-05 11:57:23 +01:00
var HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
entry: './src/app.coffee',
output: {
path: './build',
filename: 'bundle.js'
},
2016-01-05 18:10:35 +01:00
plugins: [
new HtmlWebpackPlugin({
title: 'RPGedit'
})
],
2016-01-05 11:57:23 +01:00
module: {
loaders: [
2016-01-05 18:10:35 +01:00
{ test: /\.css$/, loader: 'style-loader!css-loader' },
2016-01-05 11:57:23 +01:00
{ test: /\.coffee$/, loader: 'coffee-loader' }
]
},
resolve: {
extensions: ['', '.js', '.json', '.coffee']
}
};