<commit_before>/// <reference types="vitest" />

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path';
const packageJson = require('./package.json');

// https://vitejs.dev/config/
export default defineConfig({
  base: '/rei-cedar-next/',
  build: {
    lib: {
      entry: resolve(__dirname, '/src/lib.js'),
      name: 'cedar',
    },
    rollupOptions: {
      // make sure to externalize deps that shouldn't be bundled
      // into your library
      external: ['vue'],
      output: {
        // Provide global variables to use in the UMD build
        // for externalized deps
        globals: {
          vue: 'Vue'
        }
      }
    }
  },
  css: {
    modules: {
      generateScopedName: (name) => {
        return `${name}_${packageJson.version.replace(/\./g, '-')}`;
      }   
    },
  },
  resolve: {
    alias: {
      'srcdir': resolve(__dirname, 'src'),<commit_msg>Testing config change<commit_after>/// <reference types="vitest" />

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from 'path';
const packageJson = require('./package.json');

// https://vitejs.dev/config/
export default defineConfig({
  //base: '/rei-cedar-next/',
  build: {
    lib: {
      entry: resolve(__dirname, '/src/lib.js'),
      name: 'cedar',
    },
    rollupOptions: {
      // make sure to externalize deps that shouldn't be bundled
      // into your library
      external: ['vue'],
      output: {
        // Provide global variables to use in the UMD build
        // for externalized deps
        globals: {
          vue: 'Vue'
        }
      }
    }
  },
  css: {
    modules: {
      generateScopedName: (name) => {
        return `${name}_${packageJson.version.replace(/\./g, '-')}`;
      }   
    },
  },
  resolve: {
    alias: {
      'srcdir': resolve(__dirname, 'src'),
{'fraction_non_alphanumeric': 0.16118769883351008, 'fraction_numerical': 0.0, 'mean_word_length': 2.1608040201005023, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '6561892', 'n_tokens_mistral': 604, 'n_tokens_neox': 601, 'n_words': 147}