Implemented a basic way to queue games using DownloadService. Games will download and extract without blocking UI, but more needs to be done to reflect the game in UI and database.
23 lines
No EOL
464 B
JavaScript
23 lines
No EOL
464 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
entry: './app.ts',
|
|
mode: 'development',
|
|
output: {
|
|
filename: 'bundle.js',
|
|
path: path.resolve(__dirname, 'dist'),
|
|
},
|
|
resolve: {
|
|
extensions: ['.ts', '.js'],
|
|
},
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.ts$/,
|
|
use: 'ts-loader',
|
|
exclude: /node_modules/,
|
|
}
|
|
]
|
|
},
|
|
devtool: 'source-map'
|
|
} |