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
Hi!
Thank you for the option to save a visualization of a test, it helps sharing and having an history of a project to further compare.
The current exported index.html file can not be simply dragged and dropped to a browser, we have to serve it from an http server in order to see anything. Like webpack-bundle-analyzer, it would be easier to not need a server at all.
There is paths problems that can be corrected manually from the exported HTML :
but after this there is more serious issues, the first one coming from Fetching a local file client.a5432830.js:1080 Fetch API cannot load file:///…/dist/treeData.json. URL scheme must be "http" or "https" for CORS request.
The way webpack-bundle-analyzer does it is to put all JS, JSON and even images directly into the HTML, saving the full visualization into one file.
Would it be possible to do it this way ?
The text was updated successfully, but these errors were encountered:
Hi, I think there are more assets required for bundle wizard than for webpack-bundle-analyzer, so it might be complex. Right now I just build everything with parcel on default settings, and it would probably require some investigation to figure out how to tweak that to get a one-file build. I don't think this is something I will explore, but I'd be open to checking out prs.
Hi!
Thank you for the option to save a visualization of a test, it helps sharing and having an history of a project to further compare.
The current exported index.html file can not be simply dragged and dropped to a browser, we have to serve it from an http server in order to see anything. Like webpack-bundle-analyzer, it would be easier to not need a server at all.
There is paths problems that can be corrected manually from the exported HTML :
but after this there is more serious issues, the first one coming from Fetching a local file
client.a5432830.js:1080 Fetch API cannot load file:///…/dist/treeData.json. URL scheme must be "http" or "https" for CORS request.
The way webpack-bundle-analyzer does it is to put all JS, JSON and even images directly into the HTML, saving the full visualization into one file.
Would it be possible to do it this way ?
The text was updated successfully, but these errors were encountered: