FreedomGPT/webpack.main.config.ts
bhattaraijay05 e6f8daf79e first commit
2023-03-20 16:17:55 +05:30

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'],
},
};