Skip to content

Gatsby re-creates the absolute path to public folder in project root #5641

@helaoban

Description

@helaoban

Description

The absolute path to the public folder is re-created inside the project directory.

A picture is worth a...

screen shot 2018-05-31 at 11 58 03 am

Steps to reproduce

  1. gatsby new project-name
  2. gatsby build OR gatsby develop

Expected result

A setup that builds to the local public directory on gatsby build and gatsby develop.

Actual result

A setup that builds to a copy of the absolute system path to the public directory, nested inside the project directory.

Environment

  • Gatsby version (npm list gatsby): 1.9.265
  • gatsby-cli version (gatsby --version): 1.1.56
  • Node.js version: 9.0.0
  • Operating System: macOS 10.12.6

File contents (if changed)

gatsby-config.js: N/A
package.json: N/A
gatsby-node.js: N/A
gatsby-browser.js: N/A
gatsby-ssr.js: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions