File tree 1 file changed +1
-19
lines changed
1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -126,25 +126,7 @@ Whether to remove the original `<link rel="stylesheet">` tags after (possibly) i
126
126
Type: ` String `
127
127
Default: ` filePath `
128
128
129
- How to resolve hrefs. Must be a string of one character or more. ** Required** .
130
-
131
- Relative urls in links will have this value prepended to them. So these links:
132
- * ` <a href="page-relative">Page</a> `
133
- * ` <a href="/root-relative">Root</a> ` <- _ note leading /_
134
-
135
-
136
- With this option:
137
- ``` js
138
- inlineCss (html, { url: ' http://example.com/mushroom' })
139
- .then (function (html ) { console .log (html); });
140
- ```
141
-
142
- Will result in
143
-
144
- * ` <a href="http://example.com/mushroom/page-relative">Page</a> `
145
- * ` <a href="http://example.com/root-relative">Root</a> `
146
-
147
- If you don't need this feature, simply set the property to a short string eg ` {url: ' '} ` (one space) and everything will work.
129
+ How to resolve hrefs. ** Required** .
148
130
149
131
#### options.preserveMediaQueries
150
132
You can’t perform that action at this time.
0 commit comments