Skip to content

Commit a95cc80

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 9a9fc26 + be0cae0 commit a95cc80

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ $ npm i inline-source-webpack-plugin -D
2727
<h1>hello world!</h1>
2828
</div>
2929
<!-- 'inline-asset' attribute tell us to embed file that generated by webpack -->
30-
<script inline="true" inline-asset="runtime\.\w+\.js$" inline-asset-delete="true"></script>
31-
<script inline="true" inline-asset="bundle\.\w+\.js$" inline-asset-delete="true"></script>
30+
<script inline inline-asset="runtime\.\w+\.js$" inline-asset-delete></script>
31+
<script inline inline-asset="bundle\.\w+\.js$" inline-asset-delete></script>
3232
</body>
3333
</html>
3434
```
@@ -81,7 +81,7 @@ If you want to embed the files that generated by webpack or other plugin, you ca
8181
Add `inline-asset-delete` attribute for deleting the asset after inline task.
8282

8383
```html
84-
<script inline="true" inline-asset-delete="true" inline-asset="Your asset path/Your asset name"></script>
84+
<script inline inline-asset-delete inline-asset="Your asset path/Your asset name"></script>
8585
```
8686

8787
The value of `inline-asset` attribute is a *regular expression*.

0 commit comments

Comments
 (0)