ChristopherBiscardi / gatsby-plugins

A collection of my Gatsby plugins
23 stars 5 forks source link

Transpile printer components in node_modules #5

Closed trevorblades closed 4 years ago

trevorblades commented 4 years ago

This branch removes the exclude option from babel(), enabling themes to use this plugin with their own printer components. These components would be located in the node_modules directory of the theme consumer, causing Unexpected token errors because the files wouldn't be transpiled.