Open
Description
Hi,
I'm shimming a file called "Foo.js". This file is local and it's path relative to my entry file is "../FolderB/Foo.js". With the following configuration I am able to shim it:
"browserify-shim": {
"Foo": "global:Foo"
}
And then I imported it with
import Foo from 'Foo'
This works fine with Browserify, but the IDE gets confused and tells me "Module is not installed".
Is there any way to specify the absolute path to the file in browserify-shim config and make it recognize the relative import from my entry file so both Browserify-shim and the IDE are happy?
Metadata
Assignees
Labels
No labels