From 5e67c8d0a62f546a8a6c0822089d2cb57defd994 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 10 Apr 2020 13:16:36 +0100 Subject: [PATCH] Remove source maps --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 262b9f0..2a7ccff 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -19,7 +19,7 @@ cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.js cp $BASEDIR/node_modules/lightgallery/dist/js/lightgallery-all.min.js $STATIC_BUILD/js/lightgallery.js cp $BASEDIR/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js $STATIC_BUILD/js/bootstrap.js -parcel build -d $STATIC_BUILD/js/ $STATIC_SRC/js/app.js $STATIC_SRC/js/mermaid.js +parcel build --no-source-maps -d $STATIC_BUILD/js/ $STATIC_SRC/js/app.js $STATIC_SRC/js/mermaid.js cp -r $STATIC_SRC/scss $STATIC_BUILD/scss hugo gen chromastyles --style=monokai > $STATIC_BUILD/css/highlight.css