the wildcard analysis won't extend to the variable tracing.
We can add support for this by extending the variable analysis to not be known static values, but also partial values as well, although this does involve refactoring the value tracking system somewhat.
With the PR in https://github.com/zeit/webpack-asset-relocator-loader/pull/39 we can now support wildcard requires like
require('./local' + name)
, but for cases like:the wildcard analysis won't extend to the variable tracing.
We can add support for this by extending the variable analysis to not be known static values, but also partial values as well, although this does involve refactoring the value tracking system somewhat.