forked from DigiLive/mushroom-strategy
Stop using stupid __dirname
This commit is contained in:
@ -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",
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user