From af9b73c8c10ccd19efe7daa22107ac3841a1c92f Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Mon, 17 May 2021 09:54:06 -0400 Subject: [PATCH] fix not being modules Signed-off-by: Sebastian Malton --- __mocks__/imageMock.ts | 3 ++- src/main/proxy/index.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/__mocks__/imageMock.ts b/__mocks__/imageMock.ts index 31effc071f..f80e118413 100644 --- a/__mocks__/imageMock.ts +++ b/__mocks__/imageMock.ts @@ -18,4 +18,5 @@ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -module.exports = {}; + +export default {}; diff --git a/src/main/proxy/index.ts b/src/main/proxy/index.ts index 66b0fb83e2..def9c80b5a 100644 --- a/src/main/proxy/index.ts +++ b/src/main/proxy/index.ts @@ -22,4 +22,4 @@ // Don't export the contents here // It will break the extension webpack -export const NoExportsToPreventBreakingWebpack: void = void 0; +export default {};