mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-07-06 22:19:50 +00:00
23 lines
487 B
JavaScript
23 lines
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'),
|
||
|
},
|
||
|
};
|