laroute
laroute copied to clipboard
Add 'exclude' feature
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.