diff --git a/package.json b/package.json index e3904bc..bece2e6 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,10 @@ "version": "1.0.0", "description": "Configurable HTML <=> Markdown converter for WYSIWYG editors.", "main": "dist/js/index.js", - "module": "dist/esm/index.js", + "module": "commonjs", "files": [ "dist/lib/" ], - "type": "module", "types": "src/ts/index.d.ts", "scripts": { "tsc": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",