<commit_before>import { join } from 'path';
import { cpy } from '../utils';

async function generatePlainCssPreprocessor(params) {
  const cssDir = join(__base, 'build', params.uuid, 'public', 'stylesheets');
  const mainCss = join(__base, 'modules', 'css-preprocessor', 'main.css');
  const normalizeCss = join(__base, 'modules', 'css-preprocessor', 'normalize.css');

  switch (params.framework) {
    case 'express':
      if (params.cssFramework === 'none') {
        await cpy([normalizeCss, mainCss], cssDir);
      }
      break;
    case 'hapi':
      break;<commit_msg>Copy only main.css if css framework is selected<commit_after>import { join } from 'path';
import { cpy } from '../utils';

async function generatePlainCssPreprocessor(params) {
  const cssDir = join(__base, 'build', params.uuid, 'public', 'stylesheets');
  const mainCss = join(__base, 'modules', 'css-preprocessor', 'main.css');
  const normalizeCss = join(__base, 'modules', 'css-preprocessor', 'normalize.css');

  switch (params.framework) {
    case 'express':
      if (params.cssFramework === 'none') {
        await cpy([normalizeCss, mainCss], cssDir);
      } else {
        await cpy([mainCss], cssDir);
      }
      break;
    case 'hapi':
      break;
{'fraction_non_alphanumeric': 0.1568785197103781, 'fraction_numerical': 0.0, 'mean_word_length': 3.7662835249042144, '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': '6718211', 'n_tokens_mistral': 394, 'n_tokens_neox': 389, 'n_words': 100}