-
Couldn't load subscription status.
- Fork 205
Open
Description
I have a directory structure as follows:
src/some/directory
├── SomeModule.js
└── index.js
And I have a main field specified in my package.json: "main": "src/main.js". If I have a relative import of index.js in SomeModule.js, it gets transpiled to the main field from the package.json.
import utils from '.'; // gets transpiled to '../../main'
import utils from './'; // worksWill try to look into where the resolution is coming from a bit more after work today.
fsmaia, DaleSeo and Grohden
Metadata
Metadata
Assignees
Labels
No labels