Skip to content

Collision with import/extensions #1592

@tunnckoCore

Description

@tunnckoCore

input

import utils from './lib/utils';
console.log(utils);

errors with Missing file extension for "./lib/utils" import/extensions

When set the file extension

import utils from './lib/utils.js';
console.log(utils);

errors with Unexpected use of file extension "js" for "./lib/utils.js" import/extensions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions