-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor to ESM #160
Comments
@cossssmin I'm glad you can do it, thank you! |
Thanks, will get started and let you know when it's ready for review. Did you have any plans for it? We could add them in this refactor. |
There were a couple of ideas:
|
OK, I'd start on it and when I'm done you could add those maybe? Or do you prefer we launch a major version first and then add those ideas? |
Rather, as you prefer, these are the best ideas) |
Could we take this opportunity to think about what options we have for replacing This would be a game-changer for frameworks like Maizzle, you could run the entire PostHTML build chain right in the browser, no serverless/Lambdas needed. |
It is necessary to explore this direction, in the first approximation it looks like vm-browserify |
I was looking at the Alpine.js evaluator the other day, maybe something like this would be enough? https://github.com/alpinejs/alpine/blob/main/packages/alpinejs/src/evaluator.js Didn't know about |
This also looks interesting, it uses |
Another idea would be to create an interface and allow for various templating engine adapters. For example, there's LiquidJS that people could use instead of the default engine. |
@Scrum I'd like to work on a new major release for posthtml-expressions that would include:
Please let me know if you're OK with this and I'll start work on the PR. Thanks!
The text was updated successfully, but these errors were encountered: