<commit_before>'use strict';

import fs from 'fs';
import path from 'path';
import webpack from 'webpack';
import CleanWebpackPlugin from 'clean-webpack-plugin';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import ReplaceHashWebpackPlugin from 'replace-hash-webpack-plugin';
// import AssetsWebpackPlugin from 'assets-webpack-plugin';
import marine from '../marine';

const cwd = process.cwd();
const app = marine.path.app;
const dist = marine.path.dist;
const nodeModuleReg = /node_modules/;

/**
 * options:
 * options.hot
 * options.release
 * options.longTermCaching
 * options.minimize
 * options.
 */
module.exports = function(options) {
  // 是否为debug模式
  // const DEBUG = process.env.NODE_ENV === 'local';

  // css是否需要代码压缩
  // const minimize = DEBUG ? '' : '?minimize';
  //
  // // autoprefixer兼容的浏览器列表
  // const AUTOPREFIXER_LOADER = '!autoprefixer?' + JSON.stringify({
  //   browsers: [
  //     'Android 2.3',
  //     'Android >= 4',
  //     'Chrome >= 20',
  //     'Firefox >= 24',
  //     'Explorer >= 8',
  //     'iOS >= 6',
  //     'Safari >= 6'
  //   ]
  // });

  // const STYLE_LOADER = 'style!css' + minimize + AUTOPREFIXER_LOADER;

  let entry = [<commit_msg>ES6语法<commit_after>'use strict';

import fs from 'fs';
import path from 'path';
import webpack from 'webpack';
import CleanWebpackPlugin from 'clean-webpack-plugin';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import ReplaceHashWebpackPlugin from 'replace-hash-webpack-plugin';
// import AssetsWebpackPlugin from 'assets-webpack-plugin';
import marine from '../marine';

const cwd = process.cwd();
const app = marine.path.app;
const dist = marine.path.dist;
const nodeModuleReg = /node_modules/;

/**
 * options:
 * options.hot
 * options.release
 * options.longTermCaching
 * options.minimize
 * options.
 */
export default (options) => {
  // 是否为debug模式
  // const DEBUG = process.env.NODE_ENV === 'local';

  // css是否需要代码压缩
  // const minimize = DEBUG ? '' : '?minimize';
  //
  // // autoprefixer兼容的浏览器列表
  // const AUTOPREFIXER_LOADER = '!autoprefixer?' + JSON.stringify({
  //   browsers: [
  //     'Android 2.3',
  //     'Android >= 4',
  //     'Chrome >= 20',
  //     'Firefox >= 24',
  //     'Explorer >= 8',
  //     'iOS >= 6',
  //     'Safari >= 6'
  //   ]
  // });

  // const STYLE_LOADER = 'style!css' + minimize + AUTOPREFIXER_LOADER;

  let entry = [
{'fraction_non_alphanumeric': 0.1646367072658547, 'fraction_numerical': 0.00881982360352793, 'mean_word_length': 2.9633943427620633, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, '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': '1644815', 'n_tokens_mistral': 858, 'n_tokens_neox': 839, 'n_words': 183}