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

use date-fns for formatting/distance

This commit is contained in:
2021-08-01 09:26:34 -04:00
parent 5b44ffd93c
commit a123b38ee5
4 changed files with 70 additions and 72 deletions

View File

@@ -28,7 +28,7 @@ export default {
path.resolve(__dirname, "assets/sass/main.scss"),
],
mode: isProd ? "production" : "development",
devtool: "source-map",
devtool: isProd ? "source-map" : "inline-source-map",
output: {
filename: isProd ? "js/[name]-[contenthash:6].js" : "js/[name].js",
path: path.resolve(__dirname, "static/assets/"),
@@ -167,6 +167,7 @@ export default {
],
},
optimization: {
sideEffects: true,
minimize: isProd,
minimizer: [
new TerserPlugin({