UNPKG

gatsby-plugin-htaccess

Version:

gatsby-plugin-htaccess creates a customizable htaccess-file on build containing the most important default settings for performance and security.

5 lines (4 loc) 141 B
const setCustom = (content, custom) => custom ? content.replace('### CUSTOM-RULES ###', custom) : content module.exports = setCustom