Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxingbaoyu committed Jul 20, 2022
1 parent 017b6da commit 102d45f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/babel-cli/src/babel/file.ts
@@ -1,6 +1,5 @@
import convertSourceMap from "convert-source-map";
import { AnyMap, encodedMap } from "@jridgewell/trace-mapping";
import type { Section } from "@jridgewell/trace-mapping/dist/types/types";
import slash from "slash";
import path from "path";
import fs from "fs";
Expand All @@ -9,9 +8,16 @@ import * as util from "./util";
import type { CmdOptions } from "./options";
import * as watcher from "./watcher";

import type {
SectionedSourceMap,
SectionedSourceMapInput,
} from "@jridgewell/trace-mapping";

type Section = SectionedSourceMap["sections"][0];

type CompilationOutput = {
code: string;
map: any;
map: SectionedSourceMapInput;
};

export default async function ({
Expand Down

0 comments on commit 102d45f

Please sign in to comment.