File tree Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Expand file tree Collapse file tree 3 files changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,14 @@ import path from "path"
88import json from "@rollup/plugin-json"
99import del from "rollup-plugin-delete"
1010import replace from "@rollup/plugin-replace"
11- import dts from "rollup-plugin-dts" ;
11+ import dts from "rollup-plugin-dts"
1212import { nodeResolve } from "@rollup/plugin-node-resolve"
1313// import { terser } from "rollup-plugin-terser"
1414import commonjs from "@rollup/plugin-commonjs"
1515
1616const clientExternal = [
1717 "react" ,
1818 "react-dom" ,
19- "remark/config" ,
2019 // "@codesandbox/sandpack-client",
2120 // "use-spring",
2221 // "diff",
@@ -135,7 +134,9 @@ export default function makeConfig(commandOptions) {
135134 } ,
136135 {
137136 input : `src/components.tsx` ,
138- output : [ { file : `./dist/components.d.ts` , format : "es" } ] ,
137+ output : [
138+ { file : `./dist/components.d.ts` , format : "es" } ,
139+ ] ,
139140 external : clientExternal ,
140141 plugins : [ dts ( ) ] ,
141142 } ,
Original file line number Diff line number Diff line change 55 EditorProps ,
66 EditorStep ,
77} from "../mini-editor"
8- import { CodeHikeConfig } from "remark/config"
8+ import { CodeHikeConfig } from "../ remark/config"
99
1010export function Code (
1111 props : EditorProps & Partial < CodeHikeConfig >
Original file line number Diff line number Diff line change @@ -10399,6 +10399,13 @@ magic-string@^0.25.3, magic-string@^0.25.7:
1039910399 dependencies:
1040010400 sourcemap-codec "^1.4.8"
1040110401
10402+ magic-string@^0.26.1:
10403+ version "0.26.2"
10404+ resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.26.2.tgz#5331700e4158cd6befda738bb6b0c7b93c0d4432"
10405+ integrity sha512-NzzlXpclt5zAbmo6h6jNc8zl2gNRGHvmsZW4IvZhTC4W7k4OlLP+S5YLussa/r3ixNT66KOQfNORlXHSOy/X4A==
10406+ dependencies:
10407+ sourcemap-codec "^1.4.8"
10408+
1040210409make-dir@^1.0.0:
1040310410 version "1.3.0"
1040410411 resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-1.3.0.tgz#79c1033b80515bd6d24ec9933e860ca75ee27f0c"
@@ -14303,6 +14310,15 @@ rollup-plugin-delete@^2.0.0:
1430314310 dependencies:
1430414311 del "^5.1.0"
1430514312
14313+ rollup-plugin-dts@^4.2.1:
14314+ version "4.2.1"
14315+ resolved "https://registry.yarnpkg.com/rollup-plugin-dts/-/rollup-plugin-dts-4.2.1.tgz#c17968a0f7c5ae70a9e0ab37e715f3ef63da01c7"
14316+ integrity sha512-eaxQZNUJ5iQcxNGlpJ1CUgG4OSVqWjDZ3nNSWBIoGrpcote2aNphSe1RJOaSYkb8dwn3o+rYm1vvld/5z3EGSQ==
14317+ dependencies:
14318+ magic-string "^0.26.1"
14319+ optionalDependencies:
14320+ "@babel/code-frame" "^7.16.7"
14321+
1430614322rollup-plugin-inject@^3.0.0:
1430714323 version "3.0.2"
1430814324 resolved "https://registry.yarnpkg.com/rollup-plugin-inject/-/rollup-plugin-inject-3.0.2.tgz#e4233855bfba6c0c12a312fd6649dff9a13ee9f4"
You can’t perform that action at this time.
0 commit comments