{"size": 2032, "ext": "js", "max_stars_repo_path": "gatsby-node.js", "max_stars_repo_name": "lanzoninicola/lojasgaucha.com", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "gatsby-node.js", "max_issues_repo_name": "lanzoninicola/lojasgaucha.com", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "gatsby-node.js", "max_forks_repo_name": "lanzoninicola/lojasgaucha.com", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 47.2558139535, "max_line_length": 106, "alphanum_fraction": 0.6441929134}
/**
 * Implement Gatsby's Node APIs in this file.
 *
 * See: https://www.gatsbyjs.com/docs/node-apis/
 */

// You can delete this file if you're not using it

const path = require(`path`)

exports.onCreateWebpackConfig = ({ actions }) => {
  // https://goenning.net/2017/07/21/how-to-avoid-relative-path-hell-javascript-typescript-projects/
  // https://www.gatsbyjs.com/docs/how-to/custom-configuration/add-custom-webpack-config/#absolute-imports
  actions.setWebpackConfig({
    resolve: {
      alias: {
        "@app": path.resolve(__dirname, "src/"),
        "@styling": path.resolve(__dirname, "src/styling/"),
        "@hooks": path.resolve(__dirname, "src/styling/hooks/"),
        "@buttons": path.resolve(__dirname, "src/styling/buttons/"),
        "@carousel": path.resolve(__dirname, "src/styling/carousel/"),
        "@decorative": path.resolve(__dirname, "src/styling/decorative/"),
        "@form": path.resolve(__dirname, "src/styling/form/"),
        "@icons": path.resolve(__dirname, "src/styling/icons/"),
        "@images": path.resolve(__dirname, "src/styling/media/images"),
        "@inputs": path.resolve(__dirname, "src/styling/inputs/"),
        "@layouts": path.resolve(__dirname, "src/styling/layouts/inner/"),
        "@templates": path.resolve(__dirname, "src/styling/layouts/templates/"),
        "@layoutUtils": path.resolve(__dirname, "src/styling/layouts/utils/"),
        "@logo": path.resolve(__dirname, "src/styling/logo/"),
        "@maps": path.resolve(__dirname, "src/styling/maps/"),
        "@navbar": path.resolve(__dirname, "src/styling/navbar/"),
        "@navigation": path.resolve(__dirname, "src/styling/navigation/"),
        "@overlays": path.resolve(__dirname, "src/styling/overlays/"),
        "@shape": path.resolve(__dirname, "src/styling/shape/"),
        "@typography": path.resolve(__dirname, "src/styling/typography/"),
        "@theme": path.resolve(__dirname, "src/styling/_theme/"),
        "@utils": path.resolve(__dirname, "src/styling/utils/"),
      },
    },
  })
}
