question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

options.url needs more documentation

See original GitHub issue

The documentation on this option is very meager. There are two earlier issues describing misunderstanding the option. It would be great to make this easier to jump in.

Am I right to interpret that this is an absolute path that is prepended to any relative paths in the CSS? If that’s true it’s probably good to add that to the docs. (and if not: the actual truth 😉 )

Since it’s required; Adding it to the examples instead of an options placeholder is probably also a good idea. That makes the example ready to go.

Cheers!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
computersarecoolcommented, Dec 29, 2016

+1 I agree, for example, in your example, you do not list any options.

When leaving options.url as the default I get a ENOTFOUND. I don’t see why I need to specify it at all, seeing as how, as in your example, I am passing in a string. In my configuration, the file name is just the name of a file in the same directory as my inline-css script, so I am not sure why this is causing an error.

0reactions
daveycakescommented, May 25, 2017

@jonkemp yeah, why not. Heh, that might have saved me from doing my own script for gulp, but it was pretty easy to work with.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OPTIONS - HTTP - MDN Web Docs
The HTTP OPTIONS method requests permitted communication options for a given URL or server. A client can specify a URL with this method, ......
Read more >
got/2-options.md at main · sindresorhus/got - GitHub
How to store options. The constructor - new Options(url, options, defaults) - takes the same arguments like the got function.
Read more >
Google URL Structure Guidelines | Documentation
A site's URL structure should be as simple as possible. Consider organizing your content so that URLs are constructed logically and in a...
Read more >
Defining a custom URL scheme for your app - Apple Developer
While custom URL schemes are an acceptable form of deep linking, universal links are strongly recommended. For more information on universal links, ...
Read more >
Advanced URL Options for Media Asset Delivery - Cloudinary
Learn about Cloudinary's advanced URL options for delivering your media assets, such as special CDN options, placeholders and delivery URL ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found