diff --git a/dist/index.js b/dist/index.cjs similarity index 100% rename from dist/index.js rename to dist/index.cjs diff --git a/package.json b/package.json index fdb87f2..fd72b41 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "epic-remark", - "version": "0.1.6", + "version": "0.1.7", "description": "Epic Remark is an all-in-one markdown to HTML processor built on top of remark", - "main": "dist/index.js", + "main": "dist/index.cjs", "module": "dist/index.esm.js", "type": "module", "files": [ diff --git a/rollup.config.js b/rollup.config.js index ccd83a1..8458ea1 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -26,7 +26,7 @@ export default [ { input: 'src/index.js', output: { - file: 'dist/index.js', + file: 'dist/index.cjs', format: 'cjs', sourcemap: false, },