了解了这种方式之后,我决定在preact-cli中支持自动polyfill注入,你可以查看这个PR 如果你使用Webpack,这里有一个html-webpack-plugin插件可以方便地为polyfill
Next.js[react](https://github.com/zeit/next.js/),Preact CLI(https://github.com/developit/preact-cli)
gatsbyjs.org/ [160] Vuepress: https://vuepress.vuejs.org/ [161] Preact CLI: https://github.com/developit/preact-cli