1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-24 13:10:18 +01:00

Remove js libraries

I'm not actually using anything that needs jQuery or Bootstrap's
JS yet.
This commit is contained in:
Alan Orth 2016-08-28 22:11:19 +03:00
parent 9d800f41c8
commit 8b7d70e3c0
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
4 changed files with 1 additions and 18 deletions

View File

@ -1,4 +0,0 @@
<!-- Placed at the end of the document so the pages load faster -->
<!-- jQuery first, then Bootstrap -->
<script src="{{ .Site.BaseURL }}js/jquery.min.js"></script>
<script src="{{ .Site.BaseURL }}js/bootstrap.min.js"></script>

View File

@ -8,8 +8,7 @@
}, },
"scripts": { "scripts": {
"build:css": "node-sass --output-style compressed source/scss/style.scss | cleancss > static/css/style.css", "build:css": "node-sass --output-style compressed source/scss/style.scss | cleancss > static/css/style.css",
"build:js": "cp node_modules/bootstrap/dist/js/bootstrap.min.js node_modules/jquery/dist/jquery.min.js static/js", "build": "npm run build:css"
"build": "npm run build:css & npm run build:js"
}, },
"keywords": "hugo", "keywords": "hugo",
"author": "Alan Orth", "author": "Alan Orth",
@ -19,7 +18,6 @@
}, },
"dependencies": { "dependencies": {
"bootstrap": "4.0.0-alpha.3", "bootstrap": "4.0.0-alpha.3",
"jquery": "3.0.0"
}, },
"devDependencies": { "devDependencies": {
"clean-css": "^3.4.19", "clean-css": "^3.4.19",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long