chore: delete unused loader-register file

pull/965/head
Panagiotis Papadopoulos 2025-01-17 08:02:26 +07:00
parent 748e30b63c
commit 331dae4eb0
1 changed files with 0 additions and 10 deletions

@ -1,10 +0,0 @@
// Used to register the loader with Node.js
// This is used to avoid the warning message when using the loader
// Can be removed if this PR is merged:
// https://github.com/TypeStrong/ts-node/pull/2073
// Then probably can change webpack comand to
// "webpack": "cross-env NODE_OPTIONS=--import=ts-node/esm webpack -c webpack.config.ts",
import { register } from "node:module";
import { pathToFileURL } from "node:url";
register("ts-node/esm", pathToFileURL("./"));