<commit_before>import resolve from "rollup-plugin-node-resolve"
import commonjs from "rollup-plugin-commonjs"
import sourceMaps from "rollup-plugin-sourcemaps"
const pkg = require("./package.json")
const camelCase = require("lodash.camelcase")
// npm install rollup-plugin-uglify --save-dev
//import uglify from 'rollup-plugin-uglify';
// npm install uglify-es --save-dev
//import { minify } from 'uglify-es';

const libraryName = "heat-sdk"

export default {
  input: `compiled/${libraryName}.js`,
  output: [
    { file: pkg.main, name: camelCase(libraryName), format: "umd" },
    { file: pkg.module, format: "es" }
  ],
  sourcemap: true,
  // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash')
  external: [],<commit_msg>Export as `heatsdk` global when loaded in browser<commit_after>import resolve from "rollup-plugin-node-resolve"
import commonjs from "rollup-plugin-commonjs"
import sourceMaps from "rollup-plugin-sourcemaps"
const pkg = require("./package.json")
const camelCase = require("lodash.camelcase")
// npm install rollup-plugin-uglify --save-dev
//import uglify from 'rollup-plugin-uglify';
// npm install uglify-es --save-dev
//import { minify } from 'uglify-es';

const libraryName = "heat-sdk"

export default {
  input: `compiled/${libraryName}.js`,
  output: [
    { file: pkg.main, name: 'heatsdk', format: "umd" }, //camelCase(libraryName)
    { file: pkg.module, format: "es" }
  ],
  sourcemap: true,
  // Indicate here external modules you don't wanna include in your bundle (i.e.: 'lodash')
  external: [],
{'fraction_non_alphanumeric': 0.1475826972010178, 'fraction_numerical': 0.0, 'mean_word_length': 4.225913621262459, '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': '3551287', 'n_tokens_mistral': 538, 'n_tokens_neox': 516, 'n_words': 146}