1
0
silverbullet/desktop/webpack.main.config.ts
Zef Hemel fdc08d893a
PoC Electron app (#264)
Initial version of Electron wrapper + build pipeline
2023-01-03 20:46:52 +01:00

19 lines
444 B
TypeScript

import type { Configuration } from 'webpack';
import { rules } from './webpack.rules';
export const mainConfig: Configuration = {
/**
* This is the main entry point for your application, it's the first file
* that runs in the main process.
*/
entry: './src/index.ts',
// Put your normal webpack config below here
module: {
rules,
},
resolve: {
extensions: ['.js', '.ts', '.jsx', '.tsx', '.css', '.json'],
},
};