Skip to content

Commit

Permalink
add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jan 2, 2024
1 parent 338588b commit ea46f79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/@textlint/script-compiler/src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ export const compile = async (options: compileOptions) => {
config: rawConfig
}
});
console.log("DEBUG: inputFilePath");
console.log(fs.readFileSync(inputFilePath, "utf-8"));
webpack([config], (error: undefined | (Error & { details?: string }), stats?) => {
if (error) {
console.error(error.stack || error);
Expand Down

0 comments on commit ea46f79

Please sign in to comment.