Skip to content

Commit

Permalink
docs(readme): minor formatting fix (#63)
Browse files Browse the repository at this point in the history
This missing line break is causing an issue with our markdown
parsing process over at webpack.js.org:

https://travis-ci.org/webpack/webpack.js.org/builds/270243104?utm_source=github_status&utm_medium=notification
  • Loading branch information
skipjack authored and bryandcoulter committed Aug 31, 2017
1 parent 5fc7e84 commit 0b6c1aa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ be useful for respecting aliases, loader syntax (e.g.

If set to true the loader will rewrite `<link import="css" href="...">` or `<link rel="stylesheet" href="...">` that are inside the dom-module with `<style>require('...')</style>`. This will allow for the file to be processed by loaders that are set up in the webpack config to handle their file type.

1. Any `<link>` that is inside the `<dom-module>` but not in the `<template>` will be added to the `<template>` in the order the tags appear in the file.
1. Any `<link>` that is inside the `<dom-module>` but not in the `<template>` will be added to the `<template>` in the order the tags appear in the file.

```html
<dom-module>
<link rel="stylesheet" href="file1.css">
Expand All @@ -103,10 +104,8 @@ If set to true the loader will rewrite `<link import="css" href="...">` or `<lin
<style>require('file2.css')</style>
</template>
</dom-module>

```


2. The loader will only replace a `<link>` if the href is a relative path. Any link attempting to access an external link i.e. `http`, `https` or `//` will not be replaced.

#### htmlLoader: Object
Expand Down

0 comments on commit 0b6c1aa

Please sign in to comment.