ollama/app/webpack.main.config.ts

21 lines
496 B
TypeScript
Raw Normal View History

2023-06-23 19:04:38 +00:00
import type { Configuration } from 'webpack'
import { rules } from './webpack.rules'
2023-07-07 14:27:16 +00:00
import { plugins } from './webpack.plugins'
2023-06-23 19:04:38 +00:00
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,
},
2023-07-07 14:27:16 +00:00
plugins,
2023-06-23 19:04:38 +00:00
resolve: {
extensions: ['.js', '.ts', '.jsx', '.tsx', '.css', '.json'],
},
}