... need to serve Swagger Editor in a server-side project, or a web project that can't resolve npm module dependencies. If you're building a single-page application, using swagger-editor is strongly recommended, since swagger-editor-dist is significantly larger.