Skip to content

Commit 9caea36

Browse files
authored
Merge pull request #6 from Grisgruis/master
Add ignore missing bool
2 parents 5567854 + 0f83f6e commit 9caea36

File tree

3 files changed

+5221
-2
lines changed

3 files changed

+5221
-2
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ You can also minify your js or css assets.
4545
</script>
4646
```
4747

48+
You usually got a chicken or the egg problem with critical css, so you can ignore if missing
49+
50+
```twig
51+
<script>
52+
{{ inline_assets:css ignore-missing="true" src="css/site.css" }}
53+
</script>
54+
```
55+
4856
## Security
4957

5058
If you discover any security related issues, please email [[email protected]](mailto:[email protected]) instead of using the issue tracker.

0 commit comments

Comments
 (0)