code: function getDefaultModules() {
    return {
      rules: [
        {
          test: /\.(ts|tsx)$/,
          include: srcPath,
          loader: 'tslint-loader',
          enforce: 'pre',
          exclude: '/node_modules/'
        },
        {
          test: /\.(ts|tsx)$/,
          include: srcPath,
          loader: 'ts-loader',
          exclude: '/node_modules/'
        },
        {
          test: /\.(js|jsx)$/,
          include: srcPath,
          loader: 'tslint-loader',
          enforce: 'pre',
          exclude: '/node_modules/'
        },
        {
          test: /\.(js|jsx)$/,
          loader: 'babel-loader',
          exclude: '/node_modules/'
        },
        {
          test: /\.css$/,
          use: [
            'style-loader',
            'css-loader',
          ]
        },
        {
          test: /\.sass/,
          use: [
            'style-loader',
            'css-loader',
            {
              loader: 'sass-loader',
              options: {
                outputStyle: 'expanded',
                indentedSyntax: true
              }
            }
          ]
        },
        {
          test: /\.scss/,
          use: [
            'style-loader',
            'css-loader',
            {
              loader: 'sass-loader',
              options: {
                outputStyle: 'expanded'
              }
            }
          ]
        },
        {
          test: /\.less/,
          use: [
            'style-loader',
            'css-loader',
            'less-loader'
          ]
        },
        {
          test: /\.styl/,
          use: [
            'style-loader',
            'css-loader',
            'stylus-loader'
          ]
        },
        {
          test: /\.(png|jpg|gif|woff|woff2)$/,
          loader: 'url-loader',
          options: {
            limit: 8192
          }
        },
        {
          test: /\.svg/,
          loader: 'raw-loader',
        },
        {
          test: /\.(mp4|ogg)$/,
          loader: 'file-loader'
        }
      ]
    };
  }
docs: Get the default modules object for webpack
  @return {Object}