<commit_before>module.exports = {
  generate: {
    dir: 'site',
    // avoid error with pre/code
    minify: false
  },
  srcDir: 'document/',
  loading: false,
  router: {
    linkExactActiveClass: 'is-active'
  },
  head: {
    meta: [
      {
        charset: 'utf-8'
      },
      {
        name: 'viewport',
        content: 'width=device-width, initial-scale=1'
      },
      {
        hid: 'description',
        name: 'description',
        content: 'Clair Design，一套包含设计规范、Vue 组件和配套资源的设计系统。'
      }
    ]
  },
  plugins: [
    '~plugins/clair.js',
    '~plugins/style.js'
  ],
  build: {
    extractCSS: true,
    publicPath: '/static/',
    postcss: [
      require('postcss-cssnext')({
        warnForDuplicates: false
      }),
      require('postcss-import')(),
      require('postcss-for')()
    ]
  }
}
<commit_msg>add loading for page transition<commit_after>module.exports = {
  generate: {
    dir: 'site',
    // avoid error with pre/code
    minify: false
  },
  srcDir: 'document/',
  loading: {
    color: '#56bf8b',
    duration: 3000
  },
  router: {
    linkExactActiveClass: 'is-active'
  },
  head: {
    meta: [
      {
        charset: 'utf-8'
      },
      {
        name: 'viewport',
        content: 'width=device-width, initial-scale=1'
      },
      {
        hid: 'description',
        name: 'description',
        content: 'Clair Design，一套包含设计规范、Vue 组件和配套资源的设计系统。'
      }
    ]
  },
  plugins: [
    '~plugins/clair.js',
    '~plugins/style.js'
  ],
  build: {
    extractCSS: true,
    publicPath: '/static/',
    postcss: [
      require('postcss-cssnext')({
        warnForDuplicates: false
      }),
      require('postcss-import')(),
      require('postcss-for')()
    ]
  }
}

{'fraction_non_alphanumeric': 0.16, 'fraction_numerical': 0.006376811594202898, 'mean_word_length': 1.986159169550173, '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': '5589793', 'n_tokens_mistral': 637, 'n_tokens_neox': 657, 'n_words': 103}