lasso-js / lasso

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

Need method for ignoring bundling dependencies #214

Open Eldar-X opened 7 years ago

Eldar-X commented 7 years ago

In some cases, we need a method to tell lasso ignore some dependencies, such as "server-side components".

Not sure but i think we need 2 things 1- Option no-bundle in marko.json 2- Special attribute no-bundle

@mlrawlings @patrick-steele-idem

fineline commented 7 years ago

Would this allow things like

const fs = require("fs")

In node / electron? So we can load runtime modules without bundling them?

Just checking before I file a separate issue...