lasso-js / lasso

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

How to precompile all assets #239

Closed nguyenpc closed 6 years ago

nguyenpc commented 6 years ago

I'm using lasso as a bundle tool for my ExpressJS project which using MarkoJS as a view engine. Everything work fine. When I access a page, lasso bundle assets (JS, css, images) as configured to my static folder. But it seems only bundle assets at run time. I just want to ask if there is some methods to pre-compile (pre-bundle) assets? So server won't need to do that again?

kuznetsov-online commented 6 years ago

Hello. You can try this https://github.com/schetnikovich/lasso-marko-extras

nguyenpc commented 6 years ago

@FiW Many thanks for the link. my problem seems to be resolved