Skip to content

Commit

Permalink
chore(webpack): import chalk directly
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoMcA committed May 14, 2024
1 parent 76dd20b commit f434a26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/config/getHttpsConfig.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from "node:fs";
import path from "node:path";
import crypto from "node:crypto";
import chalk from "react-dev-utils/chalk.js";
import chalk from "chalk";
import paths from "./paths.js";

// Ensure the certificate and key provided are valid and if not
Expand Down
2 changes: 1 addition & 1 deletion client/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import "../config/env.js";

import path from "node:path";
import chalk from "react-dev-utils/chalk.js";
import chalk from "chalk";
import fs from "fs-extra";
import bfj from "bfj";
import webpack from "webpack";
Expand Down
2 changes: 1 addition & 1 deletion client/scripts/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import "../config/env.js";

import fs from "node:fs";
import chalk from "react-dev-utils/chalk.js";
import chalk from "chalk";
import webpack from "webpack";
import WebpackDevServer from "webpack-dev-server";
import clearConsole from "react-dev-utils/clearConsole.js";
Expand Down

0 comments on commit f434a26

Please sign in to comment.