laroute icon indicating copy to clipboard operation
laroute copied to clipboard

Add 'exclude' feature

Open GregPeden opened this issue 7 years ago • 0 comments

This adds an option to 'exclude' properties from the generated route package, by type.

Adds a new config option 'except', which accepts an array of properties to be excluded from the compiled bundle. This approach maintains non-breaking support with current implementations.

This is inspired by a previous PR (https://github.com/aaronlord/laroute/pull/59) which was allowed to expire without adoption but is very useful. This reduces the bundle size by a lot if used properly. I urge that this should be considered. Thanks.

GregPeden avatar Oct 12 '17 08:10 GregPeden