Move the node packages out of their own directory (although they still have one)

This commit is contained in:
Thomas A. Christensen II 2022-02-02 00:47:36 -06:00
parent 5da06e3a87
commit 38d9045bb5
Signed by: millironx
GPG key ID: 139C07724802BC5D
2 changed files with 6 additions and 6 deletions

View file

@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ .Title }} - {{ .Site.Title }}</title> <title>{{ .Title }} - {{ .Site.Title }}</title>
{{ $twbscss := resources.Get "node/node_modules/bootstrap/scss/bootstrap.scss" | resources.ToCSS }} {{ $twbscss := resources.Get "node_modules/bootstrap/scss/bootstrap.scss" | resources.ToCSS }}
{{ $mycss := resources.Get "styles/main.css" }} {{ $mycss := resources.Get "styles/main.css" }}
{{ $allcss := slice $twbscss $mycss | resources.Concat "css/bundle.css" }} {{ $allcss := slice $twbscss $mycss | resources.Concat "css/bundle.css" }}
{{ $allcsspure := $allcss | resources.PostCSS (dict "nomap" true) | minify | fingerprint | resources.PostProcess }} {{ $allcsspure := $allcss | resources.PostCSS (dict "nomap" true) | minify | fingerprint | resources.PostProcess }}
@ -111,11 +111,11 @@
</div> </div>
</div> </div>
{{ $jqueryjs := resources.Get "node/node_modules/jquery/dist/jquery.js" }} {{ $jqueryjs := resources.Get "node_modules/jquery/dist/jquery.js" }}
{{ $popperjs := resources.Get "node/node_modules/@popperjs/core/dist/umd/popper.js" }} {{ $popperjs := resources.Get "node_modules/@popperjs/core/dist/umd/popper.js" }}
{{ $twbsjs := resources.Get "node/node_modules/bootstrap/dist/js/bootstrap.js" }} {{ $twbsjs := resources.Get "node_modules/bootstrap/dist/js/bootstrap.js" }}
{{ $fajs := resources.Get "node/node_modules/@fortawesome/fontawesome-pro/js/all.js" }} {{ $fajs := resources.Get "node_modules/@fortawesome/fontawesome-pro/js/all.js" }}
{{ $fittextjs := resources.Get "node/node_modules/fittext.js/jquery.fittext.js" }} {{ $fittextjs := resources.Get "node_modules/fittext.js/jquery.fittext.js" }}
{{ $scrolljs := resources.Get "scripts/scroll-effect.js" }} {{ $scrolljs := resources.Get "scripts/scroll-effect.js" }}
{{ $alljs := slice $jqueryjs $popperjs $twbsjs $fajs $fittextjs $scrolljs | resources.Concat "js/bundle.js" | minify | fingerprint }} {{ $alljs := slice $jqueryjs $popperjs $twbsjs $fajs $fittextjs $scrolljs | resources.Concat "js/bundle.js" | minify | fingerprint }}
<script src="{{ $alljs.Permalink }}"></script> <script src="{{ $alljs.Permalink }}"></script>