<commit_before>import typescript from "rollup-plugin-typescript2";
import uglify from "rollup-plugin-uglify";

export default [
  {
    input: "src/main.ts",
    output: [
      {
        file: "dist.es/main.js",
        format: "es"
      },
      {
        file: "dist.cjs/main.js",
        format: "cjs",
        name: "Sajari"
      }
    ],
    plugins: [typescript()]
  },
  {
    input: "src/main.ts",
    output: {
      file: "dist.iife/main.js",
      format: "iife",
      name: "Sajari",
      sourcemap: true
    },
    plugins: [
      typescript({
        tsconfigOverride: { compilerOptions: { declaration: false } }
      }),
      uglify()
    ]
  }
];<commit_msg>package: fix source maps for iife build<commit_after>import typescript from "rollup-plugin-typescript2";
import uglify from "rollup-plugin-uglify";

export default [
  {
    input: "src/main.ts",
    output: [
      {
        file: "dist.es/main.js",
        format: "es"
      },
      {
        file: "dist.cjs/main.js",
        format: "cjs",
        name: "Sajari"
      }
    ],
    plugins: [typescript()]
  },
  {
    input: "src/main.ts",
    output: {
      file: "dist.iife/main.js",
      format: "iife",
      name: "Sajari",
      sourcemap: true
    },
    plugins: [
      typescript({
        tsconfigOverride: {
          compilerOptions: { declaration: false, sourceMap: true }
        }
      }),
      uglify()
    ]
  }
];
{'fraction_non_alphanumeric': 0.15368421052631578, 'fraction_numerical': 0.0014035087719298245, 'mean_word_length': 1.8237623762376238, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '5169470', 'n_tokens_mistral': 500, 'n_tokens_neox': 501, 'n_words': 94}