I'm currently working on a project which invovled two src folder (/src and /docs/src). And when I try to import files from /docs/src ModuleScopePlugin prevents me from doing it since /docs/src falls outside of /src.
So I'm wondering if ModuleScopePlugin can also accepts an array as its first parameter so that I can solve this problem with new ModuleScopePlugin([paths.appSrc, paths.docsSrc], [paths.appPackageJson]) (docsSrc is already defined in paths.js)
I'm currently working on a project which invovled two src folder (
/srcand/docs/src). And when I try to import files from/docs/srcModuleScopePlugin prevents me from doing it since/docs/srcfalls outside of/src.So I'm wondering if ModuleScopePlugin can also accepts an array as its first parameter so that I can solve this problem with
new ModuleScopePlugin([paths.appSrc, paths.docsSrc], [paths.appPackageJson])(docsSrcis already defined inpaths.js)