See starters using this
A lightweight Gatsby plugin for creating AMP pages
Sets up the boilerplate for AMP and removes scripts to conform to the AMP standard.
Include it as a plugin, it accepts two options (both are optional)
languagethe language code to add to
<html />. Default
pathIdentifierthe folder in pages that AMP should be served from. Default: