options.url needs more documentation
See original GitHub issueThe 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:
- Created 7 years ago
- Reactions:6
- Comments:8 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+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.@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.