Stop using stupid __dirname

This commit is contained in:
feedc0de committed 2025-03-19 13:27:02 +01:00
1 parent 461782207f
commit 4b6ad2fa86
2 files changed
+8

No files matched your search

+4
View File
@@ -2,6 +2,10 @@
import path from 'path';
import webpack from 'webpack';
import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const config: webpack.Configuration = {
entry: "./src/mushroom-strategy.ts",
+4
View File
@@ -2,6 +2,10 @@
import path from 'path';
import webpack from 'webpack';
import { fileURLToPath } from "url";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const config: webpack.Configuration = {
entry: "./src/mushroom-strategy.ts",