I'm trying to get webpack to load externals dynamically. I'm having trouble because the file names are only set at run time. I have put together a simple sample project:
https://github.com/jamesdalel/webpackdynamicimport
I have looked around and I can't really find an solutions for this problem. Can anybody point me in the right direction?
I just get an can't find file error. This is because webpack is unaware of this when bundling. I'm trying load it at runtime here.
Thanks, James