diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index d2b5f61..c0efba4 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -23,7 +23,8 @@
-{{ $style := resources.Get "scss/main.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
+{{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true) }}
+{{ $style := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.Minify | resources.Fingerprint }}
{{ range $val := $.Site.Params.customCSS }}
diff --git a/layouts/partials/javascript.html b/layouts/partials/javascript.html
index dca8df4..540b633 100644
--- a/layouts/partials/javascript.html
+++ b/layouts/partials/javascript.html
@@ -2,7 +2,7 @@
{{ $menu := resources.Get "js/menu.js" }}
{{ $prism := resources.Get "js/prism.js" }}
{{ $theme := resources.Get "js/theme.js" }}
-{{ $secureJS := slice $main $menu $prism $theme | resources.Concat "js/bundle.js" | resources.Minify | resources.Fingerprint "sha512" }}
+{{ $secureJS := slice $main $menu $prism $theme | resources.Concat "bundle.js" | resources.Minify | resources.Fingerprint "sha512" }}
{{- if .Site.GoogleAnalytics }}