lasso-js / lasso

Advanced JavaScript module bundler, asset pipeline and optimizer
580 stars 75 forks source link

feat: remove Marko as a dependency #309

Closed DylanPiercey closed 3 years ago

DylanPiercey commented 3 years ago

This PR removes Marko as a direct dependency.

This is certainly not the greatest way to do it, but I think it should be sufficient for now.

What I've done is replace the Marko templates that were generated and then evaluated by lasso with a few %EXPRESSIONS that I can regexp away to achieve the same thing we were doing with the existing Marko templates.

DylanPiercey commented 3 years ago

This was awful and I knew it. I assumed some of these API's were public but it seems that's not the case, better PR incoming!