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

shoulda been using cross-fetch this whole time, oops

This commit is contained in:
2021-07-01 09:15:11 -04:00
parent e54a7817d9
commit 8da27cba81
6 changed files with 31 additions and 32 deletions

View File

@@ -1,5 +1,5 @@
import path from "path";
import { fileURLToPath } from 'url';
import { fileURLToPath } from "url";
import WebpackAssetsManifest from "webpack-assets-manifest";
import SriPlugin from "webpack-subresource-integrity";
import CopyPlugin from "copy-webpack-plugin";
@@ -26,7 +26,7 @@ export default {
path.resolve(__dirname, "assets/sass/main.scss"),
],
mode: isProd ? "production" : "development",
devtool: isProd ? "hidden-nosources-source-map" : "source-map",
devtool: "source-map",
output: {
filename: isProd ? "js/[name]-[contenthash:6].js" : "js/[name].js",
path: path.resolve(__dirname, "static/assets/"),