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

Using this plugin when profiling results in invalid JSON #6

Closed
dnasir opened this issue Jan 8, 2018 · 2 comments
Closed

Using this plugin when profiling results in invalid JSON #6

dnasir opened this issue Jan 8, 2018 · 2 comments

Comments

@dnasir
Copy link

dnasir commented Jan 8, 2018

Here is an extract of my stats.json file when I run webpack --profile --json > stats.json

tsconfig-paths-webpack-plugin: Using config file at C:\projects\myproject\tsconfig.json
{
  "errors": [],
  "warnings": [],
  "version": "3.10.0",
  "hash": "ee90be31c4387bf2ebe1",
  "time": 40101,
  "publicPath": "",
  "assetsByChunkName": {}
}

I suspect this issue is due to line 87 in plugin.ts where the plugin logs a warning when it runs. I don't think this is a good idea as the > symbol in command outputs all stdout to the file specified after the symbol.

@jonaskello
Copy link
Member

Should be fixed in 1.4.0, please give it a try!

@dnasir
Copy link
Author

dnasir commented Jan 8, 2018

I can confirm that this issue has been resolved. Thanks!

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

2 participants