The init() function present in lib/core/Context.js finding files present in "sources", "builders", "transforms" folders which is one level up in the source code. But when we are bundling this package into node application using Nx/Webpack, then in main.jsi.e. the final bundle file, there is no parent directory preset with these mentioned names. Which gives error while initializing.
Can we have some const of all the files present in these folders instead of directly referring to fileSystem to avoid this error?
Hi,
The
init()
function present inlib/core/Context.js
finding files present in"sources", "builders", "transforms"
folders which is one level up in the source code. But when we are bundling this package into node application using Nx/Webpack, then inmain.js
i.e. the final bundle file, there is no parent directory preset with these mentioned names. Which gives error while initializing.Can we have some const of all the files present in these folders instead of directly referring to fileSystem to avoid this error?