fable-compiler / Fable

F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
http://fable.io/
MIT License
2.93k stars 301 forks source link

Support `${outDir}` macro from imports coming from Fable.Compiler plugins #3931

Open MangelMaxime opened 1 month ago

MangelMaxime commented 1 month ago

Description

Fable imports allows to use ${outDir} macro, in order to make the import path be adapted to reference independently from where we consume the imported code.

However, it seems that import coming from Plugin doesn't support that ${outDir} maccro.

More context there https://github.com/Zaid-Ajaj/Feliz/issues/624