copy-with-imports icon indicating copy to clipboard operation
copy-with-imports copied to clipboard

Correctly handle a path that doesn't include a wildcard

Open lambertjamesd opened this issue 6 years ago • 0 comments

To get the make build working with index.ts imports a the root of a module I had to add

            "@lucid/injector": [
                "../injector"
            ], 
            "@lucid/injector/*": [
                "../injector/*"
            ], 

To the tsconfig for the importing module. Notice the duplicated import. One with and * and one without. Having this mangled the import structure. This change causes the copy imports to correctly handle imports without a wildcard

lambertjamesd avatar Jun 28 '19 21:06 lambertjamesd