Skip to content

transformer is renaming .json files to .json.cjs #15

@emahuni

Description

@emahuni

The transformer is renaming .json files that it is not supposed to. EG:

import users from './users.json'

the result comes as

import users from './users.json.cjs'

the expected result is that it shouldn't touch anything that is not js.

import users from './users.json'

and on top of that the file doesn't exist in the dist dir.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions