metalsmith / layouts

A metalsmith plugin for layouts
MIT License
116 stars 49 forks source link

Add engine option to override .ext jstransform #152

Closed davekinkead closed 6 years ago

davekinkead commented 6 years ago

Removing the engine option in 2.0.0 broke my build process and it is nice to have the flexibility to specify engines regardless of the file extension.

ismay commented 6 years ago

Hi dave, thanks for the pr. If you like the engine option I would suggest sticking with v1. It’s still perfectly fine.

That way we don’t have to confuse the api of v2 with these kinds of options.

Also, the major version bump implies breaking changes. So expect existing code to break if you do that kind of upgrade.