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

23 lines
465 B
JavaScript

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