diff options
Diffstat (limited to 'config/fileURLToDirname.js')
-rw-r--r-- | config/fileURLToDirname.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/config/fileURLToDirname.js b/config/fileURLToDirname.js deleted file mode 100644 index 70654cb..0000000 --- a/config/fileURLToDirname.js +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | import { dirname } from 'path'; | ||
2 | import { fileURLToPath } from 'url'; | ||
3 | |||
4 | /** | ||
5 | * @param {string} url | ||
6 | * @returns {string} | ||
7 | */ | ||
8 | export default function fileURLToDirname(url) { | ||
9 | return dirname(fileURLToPath(url)); | ||
10 | } | ||