Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Inline JS in webpack blocks in Twig

Pre-release
Pre-release
Compare
Choose a tag to compare
@yannickl88 yannickl88 released this 28 Sep 13:28
· 129 commits to master since this release

It is now possible to have inline JS in your webpack blocks in Twig:

{% webpack inline %}
<script type="text/javascript">
    console.log("Hello world!");
</script>
{% endwebpack %}