diff --git a/package.json b/package.json index 54169a9fa..6ada41949 100755 --- a/package.json +++ b/package.json @@ -9,6 +9,14 @@ "homepage": "https://image.nuxt.com", "license": "MIT", "sideEffects": false, + "type": "module", + "exports": { + ".": { + "types": "./dist/module.d.ts", + "import": "./dist/module.mjs", + "require": "./dist/module.cjs" + } + }, "main": "./dist/module.mjs", "types": "./dist/module.d.ts", "files": [