Gatsby plugin to generate AMP(Accelerated Mobile Pages) from HTML
MIT License
Create AMP(Accelerated Mobile Pages) for your Gatsby site by using html2amp
$ npm install --save gatsby-plugin-html2amp
In gatsby-config.js
{
resolve: 'gatsby-plugin-html2amp',
options: {
files: ['post/**/index.html', 'index.html'],
publicPath: 'public',
gaConfigPath: 'gaConfig.json',
dist: 'public/dist',
optimize: true,
htmlPlugins: [],
cssPlugins: []
}
}
publicPath
[**/*.html]
public
publicPath
Please check my article out for detail. ⚡