{"size": 428, "ext": "js", "max_stars_repo_path": "examples/storybook/.storybook/webpack.config.js", "max_stars_repo_name": "ashield/nuxt.js", "max_stars_repo_stars_event_min_datetime": "2018-02-15T06:18:32.000Z", "max_stars_repo_stars_event_max_datetime": "2022-01-28T14:15:03.000Z", "max_issues_repo_path": "examples/storybook/.storybook/webpack.config.js", "max_issues_repo_name": "ashield/nuxt.js", "max_issues_repo_issues_event_min_datetime": "2021-03-11T04:29:44.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-09T04:14:39.000Z", "max_forks_repo_path": "examples/storybook/.storybook/webpack.config.js", "max_forks_repo_name": "ashield/nuxt.js", "max_forks_repo_forks_event_min_datetime": "2018-03-07T23:01:39.000Z", "max_forks_repo_forks_event_max_datetime": "2018-03-07T23:02:18.000Z"}
{"max_stars_count": 2, "max_issues_count": 2, "max_forks_count": 2, "avg_line_length": 26.75, "max_line_length": 62, "alphanum_fraction": 0.6565420561}
const webpack = require('webpack')
const path = require('path')
const nxtConf = require('../nuxt.config')

module.exports = (sBaseConfig, configType, defaultConfig) => {
  const srcDir = `../${nxtConf.srcDir||''}`
  const rootDir = `../${nxtConf.rootDir||''}`

  Object.assign(defaultConfig.resolve.alias, {
      '~~': path.resolve(__dirname, rootDir),
      '~': path.resolve(__dirname, srcDir)
  })

  return defaultConfig
}
