The previous config related PR had a bug when detecting the config folder. It would rewrite imports to files if they happened to exist in a path that contained /config/
This PR includes a fixture that demonstrates this and the fix.
I don't like how makeAbsolute() in lib/utils/path.js and transformer() in lib/transforms/import-declarations.js have become complex, so I'm planning to address that in a following PR.
Since we released a new version today, i think this fix should be included asap
The previous config related PR had a bug when detecting the config folder. It would rewrite imports to files if they happened to exist in a path that contained
/config/
This PR includes a fixture that demonstrates this and the fix.
I don't like how makeAbsolute() in lib/utils/path.js and transformer() in lib/transforms/import-declarations.js have become complex, so I'm planning to address that in a following PR.
Since we released a new version today, i think this fix should be included asap