mikenorthorp / gulp-shopify-upload

gulp plugin to watch and upload files to Shopify for use in theme editing
Other
40 stars 21 forks source link

Customize the base path #1

Closed NemoAlex closed 9 years ago

NemoAlex commented 9 years ago

I saw the comment:

* The original path to a file may be something like shop/assets/site.css
* whereas we require assets/site.css in the API. To customize the base
* set shopify.options.base config option.

But still don't understand where to set shopify.options.base

mikenorthorp commented 9 years ago

Sorry I think I removed that and didn't update the readme. For now just make sure the gulpfile is in the directory above the assets directory.

NemoAlex commented 9 years ago

Thanks for the reply. But it is a nice feature and I really need it.In my project, the gulpfile isn't in the theme dir. There are some other steps before upload to shopify server. These steps require some files in other dirs. So the gulpfile is in the root of the project but the theme is one of the dirs in root.

It would be very nice if you add the feature back, in any ways.

Thanks again for the great work you have done here.

On Tue, Feb 10, 2015 at 9:10 PM, mikenorthorp notifications@github.com wrote:

Sorry I think I removed that and didn't update the readme. For now just make sure the gulpfile is in the directory above the assets directory.

Reply to this email directly or view it on GitHub: https://github.com/mikenorthorp/gulp-shopify-upload/issues/1#issuecomment-73696285