core
core copied to clipboard
Should `JS.ImportDynamic` adapt the import path relatively to the output dir ?
Hello,
Similarly to #1495 JS.ImportDynamic, I think JS.ImportDynamic should adapt the import path relatively to the output dir.
Without that it means, that the user needs to configure their code based on the output folder instead of where the files are located relatively to the source F# file.
This is problematic when the JS.ImportDynamic comes from a shared F# file and the destination folder changes based on the main project.
Note: I am build a SPA project