Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full path of local working directory in component--home.js #67

Closed
yadu-ki opened this issue Dec 6, 2018 · 3 comments
Closed

Full path of local working directory in component--home.js #67

yadu-ki opened this issue Dec 6, 2018 · 3 comments
Assignees

Comments

@yadu-ki
Copy link

yadu-ki commented Dec 6, 2018

Description

Gridsome made a file: testproject/dist/assets/js/component--home.random.js.
That file contains string filePath: "/home/myname/projects/testproject/src/favicon.png".
I don't want deploy a file with full path of local working directory.

Steps to reproduce

I build Gridsome project at local working directory.

$ npx -p @gridsome/cli gridsome create testproject
$ cd ./testproject/
$ npm run build

Expected result

Relative path. just like ./src/favicon.png.

@hjvedvik
Copy link
Member

hjvedvik commented Dec 7, 2018

You're right, will publish a fix later today :)

@robaxelsen
Copy link
Member

@hjvedvik did you fix this already? if so, feel free to close.

@hjvedvik
Copy link
Member

@robaxelsen Yes, this is fixed :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants