Skip to content

Commit

Permalink
style: fix source extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitZugmeyer committed Sep 9, 2024
1 parent cdc2d9f commit 17cc0d3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions src/applyBeautify.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { minify } from "terser";
import { TraceMap, generatedPositionFor } from "@jridgewell/trace-mapping";

import CLIError from "./CLIError.js";
import log from "./log.js";
import type { ApplyResult, InputSource } from "./types.js";
import CLIError from "./CLIError.ts";
import log from "./log.ts";
import type { ApplyResult, InputSource } from "./types.ts";

declare module "terser" {
interface MinifyOutput {
Expand Down
2 changes: 1 addition & 1 deletion src/applySourceMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
} from "@jridgewell/trace-mapping";

import readSourceMap from "./readSourceMap.ts";
import log from "./log.js";
import log from "./log.ts";
import type { ApplyResult, InputSource } from "./types.ts";

export default async function applySourceMap({
Expand Down
10 changes: 5 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env node

import CLIError from "./CLIError.js";
import CLIError from "./CLIError.ts";
import parseArguments from "./parseArguments.ts";
import applyBeautify from "./applyBeautify.js";
import applySourceMap from "./applySourceMap.js";
import printContext from "./printContext.js";
import log from "./log.js";
import applyBeautify from "./applyBeautify.ts";
import applySourceMap from "./applySourceMap.ts";
import printContext from "./printContext.ts";
import log from "./log.ts";
import read from "./read.ts";
import type { ApplyResult } from "./types.ts";

Expand Down
2 changes: 1 addition & 1 deletion src/read.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import url from "url";
import path from "path";
import fs from "fs/promises";

import log from "./log.js";
import log from "./log.ts";

export interface ReadResult {
content: string;
Expand Down
4 changes: 2 additions & 2 deletions src/readSourceMap.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import log from "./log.js";
import type { ReadResult } from "./read.js";
import log from "./log.ts";
import type { ReadResult } from "./read.ts";

export default async function readSourceMap(
bundle: ReadResult,
Expand Down

0 comments on commit 17cc0d3

Please sign in to comment.