diff --git a/package.json b/package.json index c96c4c7..b81b941 100644 --- a/package.json +++ b/package.json @@ -3,17 +3,18 @@ "version": "0.1.1", "description": "This esbuild plugin uses Velcro to build projects without having to npm install dependencies", "main": "dist/index.cjs.js", - "module": "dist/index.esm.js", + "module": "dist/index.mjs", "types": "dist/index.d.ts", "browser": {}, "exports": { ".": { "require": "./dist/index.cjs.js", - "import": "./dist/index.esm.js", + "import": "./dist/index.mjs", "default": "./dist/index.cjs.js" }, + "./dist/": "./dist/*", "./package.json": "./package.json", - "./": "./" + "./": "./*" }, "files": [ "dist/**/!(tsconfig.tsbuildinfo)"