When I created this module, I wanted to encapsulate all of sway worker JS file into a module so I don't check in a huge file in Swagger Editor. Now that https://github.com/swagger-api/sway-worker/pull/3 is happening, that small webpack build process can be part of Swagger Editor build and we can check-in worker.js file in this repo.
That will make Swagger Editor depend on Sway directly and it would be easier for Editor to get newest Sway version.
When I created this module, I wanted to encapsulate all of sway worker JS file into a module so I don't check in a huge file in Swagger Editor. Now that https://github.com/swagger-api/sway-worker/pull/3 is happening, that small webpack build process can be part of Swagger Editor build and we can check-in
worker.js
file in this repo.That will make Swagger Editor depend on Sway directly and it would be easier for Editor to get newest Sway version.