This option is going to become the default in Webpack v5.
This PR adds a failing test for the current implementation and subsequently provides a fix.
Previously we relied on "existsAt" which is removed from Webpack 4.29.x (when
output.futureEmitAssets is enabled) and will be gone in 5.x by default. Calculates the paths using
apis that exist from Webpack 3 through to 5.
This option is going to become the default in Webpack v5.
This PR adds a failing test for the current implementation and subsequently provides a fix.
Previously we relied on "existsAt" which is removed from Webpack 4.29.x (when output.futureEmitAssets is enabled) and will be gone in 5.x by default. Calculates the paths using apis that exist from Webpack 3 through to 5.
Fixes #28