You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

webpack.main.config.ts 444B

123456789101112131415161718
  1. import type { Configuration } from 'webpack';
  2. import { rules } from './webpack.rules';
  3. export const mainConfig: Configuration = {
  4. /**
  5. * This is the main entry point for your application, it's the first file
  6. * that runs in the main process.
  7. */
  8. entry: './src/index.ts',
  9. // Put your normal webpack config below here
  10. module: {
  11. rules,
  12. },
  13. resolve: {
  14. extensions: ['.js', '.ts', '.jsx', '.tsx', '.css', '.json'],
  15. },
  16. };