Skip to content

Won't convert absolute tsx imports #126

@alexnault

Description

@alexnault

As of @2.2.7, The following works:

import App from './components/App';
// output =>
import App from './components/App.js';

The following does not:

import App from 'components/App';
// output =>
import App from 'components/App'; // (no change)
// expected =>
import App from 'components/App.js';

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions