{"size": 1030, "ext": "js", "max_stars_repo_path": "src/.vuepress/config.js", "max_stars_repo_name": "manak1/vue-a11y.com", "max_stars_repo_stars_event_min_datetime": "2021-01-22T17:44:12.000Z", "max_stars_repo_stars_event_max_datetime": "2021-01-22T17:44:12.000Z", "max_issues_repo_path": "src/.vuepress/config.js", "max_issues_repo_name": "yamanoku/vue-a11y.com", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/.vuepress/config.js", "max_forks_repo_name": "yamanoku/vue-a11y.com", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.1219512195, "max_line_length": 96, "alphanum_fraction": 0.5805825243}
require('dotenv').config()
const path = require('path')
const webpack = require('webpack')

const resolve = pathName => path.join(__dirname, pathName)

module.exports = {
  base: '/',
  serviceWorker: true,
  head: require('./config/head'),
  plugins: require('./config/plugins'),
  postcss: require('./config/postcss'),
  locales: {
    '/': require('./config/languages/en/localeConfig'),
    '/pt/': require('./config/languages/pt/localeConfig'),
    '/jp/': require('./config/languages/jp/localeConfig')
  },
  themeConfig: require('./config/themeConfig'),
  markdown: {
    anchor: {
      permalink: false
    },
    extendMarkdown: md => {
      md.renderer.rules.table_open = () => '<div class="table-wrapper" tabindex="0">\n<table>\n'
      md.renderer.rules.table_close = () => '</table>\n</div>'
    }
  },
  configureWebpack () {
    return {
      plugins: [
        new webpack.EnvironmentPlugin({ ...process.env })
      ],
      resolve: {
        alias: {
          '@': resolve('.')
        }
      }
    }
  }
}
