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

22 lines
409 B
JavaScript
Raw Permalink Normal View History

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