Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS-Loader is messing up the piped JSON #36

Closed
jrgleason opened this issue Mar 3, 2017 · 1 comment
Closed

TS-Loader is messing up the piped JSON #36

jrgleason opened this issue Mar 3, 2017 · 1 comment

Comments

@jrgleason
Copy link

I have ts-loader configured and it automatically logs the following line...

ts-loader: Using [email protected] and /.../tsconfig.json

So when I run

webpack --json | webpack-bundle-size-analyzer

I get

Error: The input is not valid JSON
....
 - There is no extra non-JSON content in the output, such as log messages.

As far as I can tell there is no way to turn off this extra logging, so I think there is also a TS-Loader issue as well. In the mean time I am piping the JSON to a file and removing the extra line then running like webpack-bundle-size-analyzer <piped file>

@jrgleason
Copy link
Author

NM It is an exclusively ts-loader issue TypeStrong/ts-loader#488

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant