You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
carragom
changed the title
grunt build tries to compile .json files
grunt build tries to transpile .json files
Jan 14, 2016
same issue exist with gulp also. Unfortunately removing "paths.server.json" also skip copying of the file to the dist and does not get deployed. I am using the .json files as stubs
Hi there,
I added a
server/log4js.json
file to my project generated with version3.1.1
. And nowgrunt build
breaks with the following error:I fixed the issue by removing
.json
files from thebabel:server
task. I don't see whygrunt 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.
The text was updated successfully, but these errors were encountered: