Skip to content

Commit

Permalink
Bump to 12.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerpena committed May 2, 2022
1 parent 3486764 commit 2467a72
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "react-mde",
"version": "12.0.3",
"version": "12.0.4",
"description": "React Markdown Editor",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "./lib/definitions/index.d.ts",
"types": "./dist/index.d.ts",
"scripts": {
"test": "jest",
"dev": "vite",
Expand Down
6 changes: 6 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import typescript from "@rollup/plugin-typescript";
import dts from "rollup-plugin-dts";

const packageJson = require("./package.json");

Expand All @@ -24,5 +25,10 @@ export default [
commonjs(),
typescript({ tsconfig: "./tsconfig.json" })
]
},
{
input: "dist/esm/types/src/index.d.ts",
output: [{ file: "dist/index.d.ts", format: "esm" }],
plugins: [dts()]
}
];

0 comments on commit 2467a72

Please sign in to comment.