vinaypuppal / preact-cli-plugin-netlify

Preact cli plugin for generating h2push headers and redirects rules for netlify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keep push-manifest.json as single source of truth

prateekbh opened this issue · comments

Hi,
This code seems to be duplicated out of preact-cli: https://github.com/vinaypuppal/preact-cli-plugin-netlify/blob/master/index.js#L37-L42

Instead of this, you can just read push-manifest.json and convert it to netlify headers. This keeps you away from diverging from the preact-cli changes

Implemented in #14