1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-06-24 21:25:23 +00:00
fcast/receivers/electron/webpack.config.js
2023-06-20 08:45:01 +02:00

23 lines
No EOL
487 B
JavaScript

const path = require('path');
module.exports = {
mode: 'development',
entry: './src/App.ts',
target: 'electron-main',
module: {
rules: [
{
test: /\.tsx?$/,
include: /src/,
use: [{ loader: 'ts-loader' }]
}
],
},
resolve: {
extensions: ['.tsx', '.ts', '.js'],
},
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
},
};