code: function tsLoaderOptions(options = {}) {
    const DefaultTsLoaderOptions = {
      compilerOptions: {
        target: 'ES5',
        sourceMap: true,
        jsx: 'React'
      }
    }
  
    return {
      loader: 'ts-loader',
      options: Object.assign({}, DefaultTsLoaderOptions, options)
    }
  }
docs: TsLoader
  
  @link [typescript](https://www.typescriptlang.org/docs/)
  @link [tsc options](https://www.typescriptlang.org/docs/handbook/compiler-options.html)
  @link [ts-loader](https://github.com/TypeStrong/ts-loader)