also check for loader versions
mixtur opened this issue · 0 comments
mixtur commented
We have a package that contains loader and runtime. Therefore we can run into following confusing error which I hope you could check for.
We have something like this in webpack config in our host application.
modules: {rules: [
{test: /some-regex/,
use: 'our-package/loader'} // version A
...otherRules
]}
And in some library
import 'our-package/runtime'; // version B
And if runtime B
is not compatible with loader A
we are in trouble.
Could you please check for such situations?