Skip to content

Commit 9561368

Browse files
committedOct 8, 2018
docs(readme): fix malformed symbols
1 parent 33aebed commit 9561368

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ import url from 'file.css'
8484
<link rel="stylesheet" href="path/to/file.css">
8585
```
8686

87-
> :information_source: Source maps and assets referenced with `url`: when style loader is used with `{ options: { sourceMap: true } }` option, the CSS modules will be generated as `Blob`s, so relative paths don't work (they would be relative to `chrome:blob` or `chrome:devtools`). In order for assets to maintain correct paths setting `output.publicPath` property of webpack configuration must be set, so that absolute paths are generated. Alternatively you can enable the `convertToAbsoluteUrls` option mentioned above.
87+
> ℹ️ Source maps and assets referenced with `url`: when style loader is used with `{ options: { sourceMap: true } }` option, the CSS modules will be generated as `Blob`s, so relative paths don't work (they would be relative to `chrome:blob` or `chrome:devtools`). In order for assets to maintain correct paths setting `output.publicPath` property of webpack configuration must be set, so that absolute paths are generated. Alternatively you can enable the `convertToAbsoluteUrls` option mentioned above.
8888
8989
### `Useable`
9090

@@ -130,7 +130,7 @@ style.unuse(); // = style.unref();
130130

131131
Styles are not added on `import/require()`, but instead on call to `use`/`ref`. Styles are removed from page if `unuse`/`unref` is called exactly as often as `use`/`ref`.
132132

133-
:warning: Behavior is undefined when `unuse`/`unref` is called more often than `use`/`ref`. Don't do that.
133+
> ⚠️ Behavior is undefined when `unuse`/`unref` is called more often than `use`/`ref`. Don't do that.
134134
135135
<h2 align="center">Options</h2>
136136

@@ -246,7 +246,7 @@ A `transform` is a function that can modify the css just before it is loaded int
246246
This function will be called on the css that is about to be loaded and the return value of the function will be loaded into the page instead of the original css.
247247
If the return value of the `transform` function is falsy, the css will not be loaded into the page at all.
248248

249-
> :Warning: In case you are using ES Module syntax in `tranform.js` then, you **need to transpile** it or otherwise it will throw an `{Error}`.
249+
> ⚠️ In case you are using ES Module syntax in `tranform.js` then, you **need to transpile** it or otherwise it will throw an `{Error}`.
250250
251251
**webpack.config.js**
252252
```js

0 commit comments

Comments
 (0)
Please sign in to comment.