posthtml / posthtml-expressions

Use variables, JS-like expressions, and even markup-powered logic in your HTML.
Other
123 stars 20 forks source link

Adds supports to require() files inside script locals #154

Open arthurfiorette opened 1 year ago

arthurfiorette commented 1 year ago

Proposed Changes

This PR adds require() to the vm context when executing code from <script locals>.

Types of Changes

Checklist

Reviewers: @mrmlnc, @jescalan, @michael-ciniawsky, @posthtml/collaborators

arthurfiorette commented 11 months ago

any updates?