custom-webpack.config.ts raw

   1  import type { Configuration } from 'webpack';
   2  
   3  module.exports = {
   4    entry: {
   5      background: {
   6        import: 'src/background.ts',
   7        runtime: false,
   8      },
   9      'smesh-signer-extension': {
  10        import: 'src/smesh-signer-extension.ts',
  11        runtime: false,
  12      },
  13      'smesh-signer-content-script': {
  14        import: 'src/smesh-signer-content-script.ts',
  15        runtime: false,
  16      },
  17      prompt: {
  18        import: 'src/prompt.ts',
  19        runtime: false,
  20      },
  21      options: {
  22        import: 'src/options.ts',
  23        runtime: false,
  24      },
  25      unlock: {
  26        import: 'src/unlock.ts',
  27        runtime: false,
  28      },
  29    },
  30  } as Configuration;
  31