diff --git a/package.json b/package.json index 3c2243d..5f8745f 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "@raidguild/design-system", - "version": "0.5.1", + "version": "0.5.2", "license": "MIT", "author": "Raid Guild", - "main": "./dist/cjs/src/index.js", - "module": "./dist/esm/src/index.js", + "main": "./dist/src/index.js", + "module": "./dist/src/index.js", "types": "./dist/index.d.ts", "type": "module", "homepage": "https://raid-guild.github.io/design-system", diff --git a/tsconfig.json b/tsconfig.json index 644620c..7f72721 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -31,6 +31,7 @@ "noUnusedParameters": true, // Flags unused function parameters. "noFallthroughCasesInSwitch": true, // Requires handling all cases in a switch statement. "declaration": true, // Generates declaration files for TypeScript. + "declarationDir": "dist", "allowSyntheticDefaultImports": true } }