1
Fork 0

Remove source maps

This commit is contained in:
Jake Howard 2020-04-10 13:16:36 +01:00
parent 162340bad9
commit 5e67c8d0a6
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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/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 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 cp -r $STATIC_SRC/scss $STATIC_BUILD/scss
hugo gen chromastyles --style=monokai > $STATIC_BUILD/css/highlight.css hugo gen chromastyles --style=monokai > $STATIC_BUILD/css/highlight.css