{"size": 1749, "ext": "js", "max_stars_repo_path": "vue.config.js", "max_stars_repo_name": "I-OWE-YOU/web-frontend", "max_stars_repo_stars_event_min_datetime": "2020-03-20T09:58:08.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-24T10:03:36.000Z", "max_issues_repo_path": "vue.config.js", "max_issues_repo_name": "I-OWE-YOU/web-frontend", "max_issues_repo_issues_event_min_datetime": "2020-03-19T11:21:58.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T01:30:30.000Z", "max_forks_repo_path": "vue.config.js", "max_forks_repo_name": "I-OWE-YOU/web-frontend", "max_forks_repo_forks_event_min_datetime": "2020-03-20T08:01:12.000Z", "max_forks_repo_forks_event_max_datetime": "2020-03-25T11:57:04.000Z"}
{"max_stars_count": 4, "max_issues_count": 101, "max_forks_count": 7, "avg_line_length": 24.2916666667, "max_line_length": 75, "alphanum_fraction": 0.6049170955}
const HardSourceWebpackPlugin = require('hard-source-webpack-plugin')

const cachePlugin = new HardSourceWebpackPlugin({
  environmentHash: {
    root: process.cwd(),
    directories: [],
    files: [
      'package-lock.json',
      'yarn.lock',
      '.env',
      '.env.local',
      '.env.production',
      '.env.staging',
      '.env.test',
    ],
  },
})
/** @type import('@vue/cli-service').ProjectOptions */
module.exports = {
  configureWebpack: {
    externals: {
      vue: 'Vue',
    },
    plugins: [cachePlugin],
  },

  // https://github.com/neutrinojs/webpack-chain/tree/v4#getting-started
  chainWebpack(config) {
    // Set up all the aliases we use in our app.
    config.resolve.alias.clear().merge(require('./aliases.config').webpack)

    // Don't allow importing .vue files without the extension, as
    // it's necessary for some Vetur autocompletions.
    config.resolve.extensions.delete('.vue')

    // Only enable performance hints for production builds,
    // outside of tests.
    config.performance.hints(
      process.env.NODE_ENV === 'production' &&
        !process.env.VUE_APP_TEST &&
        'warning'
    )
  },

  css: {
    // Enable CSS source maps.
    sourceMap: true,
  },

  pluginOptions: {
    s3Deploy: {
      registry: undefined,
      awsProfile: 'default',
      overrideEndpoint: false,
      region: 'eu-west-1',
      bucket: 'tegoedje-dev',
      createBucket: true,
      staticHosting: true,
      staticIndexPage: 'index.html',
      staticErrorPage: 'index.html',
      assetPath: 'dist',
      assetMatch: '**',
      deployPath: '/',
      acl: 'public-read',
      pwa: false,
      enableCloudfront: false,
      pluginVersion: '4.0.0-rc3',
      uploadConcurrency: 5,
    },
  },
}
