jafaircl / gatsby-plugin-amp

Gatsby plugin for creating AMP pages
34 stars 32 forks source link

Exclude Path #33

Open rotexhawk opened 4 years ago

rotexhawk commented 4 years ago

Hi.

Is there a way to exclude everything. I tried all of these patterns excludedPaths: ['*', '**', '**/**', '*/**'], but it doesn't work. IMO the include exclude pattern makes this plugin more complicated than it needs to be. Its fairly simple for me to add /amphtml through react-helmet and I can have fine grain control. I don't think this plugin should be changing non-amp pages by adding amphtml link to them.