hapi-webpack-plugin
hapi-webpack-plugin copied to clipboard
Move babel-polyfill to dependencies
You're importing babel-polyfill in your codebase, but it's listed under devDependencies. Error occurs unless user has babel-polyfill already installed.
EDIT: It would be better to use transform-runtime instead for reasons here as well as avoiding conflicts with existing codebases that use babel-polyfill. I'm having an issue as I'm using babel v7.
It seems this package is unmaintained so I decided to rewrite it in TS and fix all the issues. You can find it here https://github.com/Kamahl19/hapi-webpack-plugin-2