diff --git a/example/package-lock.json b/example/package-lock.json index 1a383c1..6d45140 100644 --- a/example/package-lock.json +++ b/example/package-lock.json @@ -8,7 +8,7 @@ "name": "vanilla", "version": "0.0.0", "dependencies": { - "dittytoy": "0.0.2-dev.9d1f0ce" + "dittytoy": "0.0.2-dev.3a0fff0" }, "devDependencies": { "vite": "^5.1.6" @@ -561,9 +561,9 @@ "dev": true }, "node_modules/dittytoy": { - "version": "0.0.2-dev.9d1f0ce", - "resolved": "https://registry.npmjs.org/dittytoy/-/dittytoy-0.0.2-dev.9d1f0ce.tgz", - "integrity": "sha512-jRrxrgHICIK8FOLPvKMKXoUVlHBz/fUlD2SjfliG3gmvqHfjTpnO8ayBK9Qv/D46j8xLRdUf0FRrco0YZkoDzg==", + "version": "0.0.2-dev.3a0fff0", + "resolved": "https://registry.npmjs.org/dittytoy/-/dittytoy-0.0.2-dev.3a0fff0.tgz", + "integrity": "sha512-9ps1MTdNcFvSrUfWkbP8kLaIcvMvWKVvLUB5qixjQj1CoQa3nJkVFlCMtNGr7srFBdDwqlMQh80xWina3Sov7A==", "engines": { "node": ">=20.0.0" } diff --git a/example/package.json b/example/package.json index 7320e45..4c7cda0 100644 --- a/example/package.json +++ b/example/package.json @@ -15,6 +15,6 @@ "node": ">=20.0.0" }, "dependencies": { - "dittytoy": "0.0.2-dev.9d1f0ce" + "dittytoy": "0.0.2-dev.3a0fff0" } } diff --git a/package.json b/package.json index 75f98b8..4ded4ef 100644 --- a/package.json +++ b/package.json @@ -8,12 +8,19 @@ "repository": "git@github.com:reindernijhoff/dittytoy-package.git", "author": "Reinder Nijhoff ", "license": "MIT", - "exports": "./dist/index.js", "type": "module", "files": [ "dist/**/*", "README.md" ], + "main": "./dist/dittytoy.umd.cjs", + "module": "./dist/dittytoy.js", + "exports": { + ".": { + "import": "./dist/dittytoy.js", + "require": "./dist/dittytoy.umd.cjs" + } + }, "publishConfig": { "access": "public" },