<commit_before>import {WebpackConfig, get} from '@easy-webpack/core'
import * as path from 'path'
import {ForkCheckerPlugin} from 'awesome-typescript-loader'
import 'regenerator-runtime/runtime'

/**
 * Typescript loader support for .ts
 * See: https://github.com/s-panferov/awesome-typescript-loader
 */
export function typescript(options = {}, exclude: Array<string> = null) {
  return function typescript(this: WebpackConfig): WebpackConfig {<commit_msg>feat(index): use main module export<commit_after>import {WebpackConfig, get} from '@easy-webpack/core'
import * as path from 'path'
import {ForkCheckerPlugin} from 'awesome-typescript-loader'
import 'regenerator-runtime/runtime'

/**
 * Typescript loader support for .ts
 * See: https://github.com/s-panferov/awesome-typescript-loader
 */
export = function typescript(options = {}, exclude: Array<string> = null) {
  return function typescript(this: WebpackConfig): WebpackConfig {
{'fraction_non_alphanumeric': 0.1279317697228145, 'fraction_numerical': 0.0, 'mean_word_length': 5.804347826086956, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2792110', 'n_tokens_mistral': 281, 'n_tokens_neox': 278, 'n_words': 72}