esbuild-plugin-import-glob icon indicating copy to clipboard operation
esbuild-plugin-import-glob copied to clipboard

Make sure that imports are properly scoped to directories that are requested from

Open barcicki opened this issue 4 years ago • 0 comments

This PR fixes the case were there're same-sounding imports used in different paths.

There's sample scenario in conflicts directory in tests. It contains 2 subdirectories with same-sounding index.js that imports all nested files (export * as default from './cases/*.js';), but they contain completely different set of files.

Without the change, both the imports equals to contents of files from the later directory.

barcicki avatar May 21 '21 19:05 barcicki