Cosmin Popovici

Results 135 comments of Cosmin Popovici

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.

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?

Could we take this opportunity to think about what options we have for replacing `node:vm` so that the plugin could be used in a browser environment? Would `Function` work? This...

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 `vm-browserify`, looks like it's very popular but it's only...

This also looks interesting, it uses `@babel/parser` to parse expressions: https://github.com/william-yz/ts-expression-evaluator

Another idea would be to create an interface and allow for various templating engine adapters. For example, there's [LiquidJS](https://liquidjs.com/) that people could use instead of the default engine.

Use triple braces `{{{text ? 'yes': ''}}}` to unescape the tags.

I've started working on it from scratch, borrowing ideas from `posthtml-inline-css` - see here: https://github.com/cossssmin/posthtml-postcss-inline Regarding this: > [posthtml-email-remove-unused-css](https://npmjs.com/posthtml-email-remove-unused-css) may help with this. It's no longer available and its successor,...

@Scrum this would be helpful, no?

Support for `@config` will be fixed in Maizzle 5, already got it working locally 👍