From 1692fb02b1710eb9519fc4c985e76e39c2539397 Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Wed, 13 Sep 2023 11:31:53 -0400 Subject: [PATCH] Fix main, add module --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fbb1e2d..f1c2e30 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,8 @@ "name": "mirage-msw", "version": "0.1.1", "description": "Allow mirage to use MSW (Mock Service Worker) as the interceptor", - "main": "index.js", + "main": "dist/msw-config.cjs", + "module": "dist/msw-config.js", "type": "module", "keywords": [ "msw",