Skip to content

Support comments and trailing comma in tsconfig.jsonΒ #92

@namnm

Description

@namnm

create-react-app already supported it here:
facebook/create-react-app#7248

This can be solved using json5: https://github.com/json5/json5

require('json5/lib/register')
require.extensions['.json'] = require.extensions['.json5']

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