Skip to content

Commit

Permalink
refactor(dev): camelCase filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
pcattori committed Oct 26, 2022
1 parent b49b861 commit ccddde6
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/remix-dev/compiler/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type * as esbuild from "esbuild";

import type { RemixConfig } from "../config";
import invariant from "../invariant";
import { getRouteModuleExports } from "./route-exports";
import { getRouteModuleExports } from "./routeExports";
import { getHash } from "./utils/crypto";
import { createUrl } from "./utils/url";

Expand Down
4 changes: 2 additions & 2 deletions packages/remix-dev/compiler/build.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { type RemixConfig } from "../config";
import { warnOnce } from "./warnings";
import { logCompileFailure } from "./on-compile-failure";
import { logCompileFailure } from "./onCompileFailure";
import { type CompileOptions } from "./options";
import { compile, createRemixCompiler } from "./remix-compiler";
import { compile, createRemixCompiler } from "./remixCompiler";

export async function build(
config: RemixConfig,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type esbuild from "esbuild";

import type { RemixConfig } from "../../config";
import { getRouteModuleExports } from "../route-exports";
import { getRouteModuleExports } from "../routeExports";
import invariant from "../../invariant";

type Route = RemixConfig["routes"][string];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { type RemixConfig } from "../config";
import { type AssetsManifest } from "./assets";
import { type BrowserCompiler, createBrowserCompiler } from "./compile-browser";
import { type ServerCompiler, createServerCompiler } from "./compile-server";
import { type OnCompileFailure } from "./on-compile-failure";
import { type BrowserCompiler, createBrowserCompiler } from "./compileBrowser";
import { type ServerCompiler, createServerCompiler } from "./compilerServer";
import { type OnCompileFailure } from "./onCompileFailure";
import { type CompileOptions } from "./options";
import { createChannel } from "./utils/channel";

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/remix-dev/compiler/watch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import debounce from "lodash.debounce";
import * as path from "path";

import { type RemixConfig, readConfig } from "../config";
import { logCompileFailure } from "./on-compile-failure";
import { logCompileFailure } from "./onCompileFailure";
import { type CompileOptions } from "./options";
import { compile, createRemixCompiler, dispose } from "./remix-compiler";
import { compile, createRemixCompiler, dispose } from "./remixCompiler";
import { warnOnce } from "./warnings";

function isEntryPoint(config: RemixConfig, file: string): boolean {
Expand Down

0 comments on commit ccddde6

Please sign in to comment.