From 17b8c2f199e7a307b6d6294b8599abacb3ec56e7 Mon Sep 17 00:00:00 2001 From: Andrew Stoker Date: Sat, 7 Nov 2020 20:00:54 -0500 Subject: [PATCH] fix: add extension in the package.json main entry (#608) The `main` entry for the `package.json` file is for defining the entry point. The entry is currently missing the required `.js` extension, this PR brings it back. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fee66d5a5..5bbc38c11 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "engine.io", "version": "4.0.1", "description": "The realtime engine behind Socket.IO. Provides the foundation of a bidirectional connection between client and server", - "main": "lib/engine.io", + "main": "lib/engine.io.js", "author": "Guillermo Rauch ", "homepage": "https://github.com/socketio/engine.io", "contributors": [