1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-21 19:21:18 -04:00

drop some unused deps

This commit is contained in:
2021-09-05 09:51:41 -04:00
parent 3a3849e8ec
commit 7d7bf4b474
7 changed files with 56 additions and 236 deletions

View File

@@ -1,3 +1,4 @@
// @ts-nocheck
import path from "path";
import { fileURLToPath } from "url";
import webpack from "webpack";
@@ -17,8 +18,7 @@ import postcssCombineDuplicatedSelectors from "postcss-combine-duplicated-select
import postcssNormalizeCharset from "postcss-normalize-charset";
// https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#what-do-i-use-instead-of-__dirname-and-__filename
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const isProd = process.env.NODE_ENV === "production";