mlrawlings / marko-starter

easiest way to create a new marko app
7 stars 1 forks source link

Feature request: Allow per-route lasso config and ability to override default lasso config #4

Open philidem opened 7 years ago

philidem commented 7 years ago

Perhaps we can add support for a lasso.config.js file that can exist at root of project (default configuration) or in a route (per-route configuation).

The contents of the file could export a lasso configuration and look something like:

module.exports = {
  require: { ... },
  bundlingEnabled: { ... },
  plugins: [...],
  bundles: { ... },
  noConflict: 'myapp',
  outputDir: '...',
  urlPrefix: '...'
};
matteozambon89 commented 7 years ago

@philidem what is the current way to set a customer lasso config?