Skip to content

grunt build tries to transpile .json files #1561

@carragom

Description

@carragom

Hi there,

I added a server/log4js.json file to my project generated with version 3.1.1. And now grunt build breaks with the following error:

Running "babel:server" (babel) task
Warning: server/log4js.json: Unexpected token (2:19) Use --force to continue.

Aborted due to warnings.

I fixed the issue by removing .json files from the babel:server task. I don't see why grunt build would try to transpile .json files. Am I missing something here or is this a bug?

Thanks for the great generator by the way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions