Avoid duplication of .min extension
This commit is contained in:
parent
2bc993ccc7
commit
b216fbd24d
2 changed files with 6 additions and 6 deletions
|
@ -28,10 +28,10 @@
|
|||
|
||||
{{ partial "footer.html" . }}
|
||||
|
||||
{{ partial "script.html" "js/jquery.min.js" }}
|
||||
{{ partial "script.html" "js/jquery.js" }}
|
||||
{{ partial "script_async.html" "js/lightgallery.js" }}
|
||||
{{ partial "script_async.html" "js/bootstrap.min.js" }}
|
||||
{{ partial "script_async.html" "js/mermaid.min.js" }}
|
||||
{{ partial "script_async.html" "js/bootstrap.js" }}
|
||||
{{ partial "script_async.html" "js/mermaid.js" }}
|
||||
{{ partial "script_async.html" "js/app.js" }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -14,10 +14,10 @@ cp -r $BASEDIR/node_modules/lightgallery/dist/img/* $STATIC_BUILD/img
|
|||
cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/css/all.min.css $STATIC_BUILD/css/font-awesome.min.css
|
||||
cp -r $BASEDIR/node_modules/@fortawesome/fontawesome-free/webfonts $STATIC_BUILD
|
||||
|
||||
cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.min.js
|
||||
cp $BASEDIR/node_modules/jquery/dist/jquery.min.js $STATIC_BUILD/js/jquery.js
|
||||
cp $BASEDIR/node_modules/lightgallery/dist/js/lightgallery.js $STATIC_BUILD/js/lightgallery.js
|
||||
cp $BASEDIR/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js $STATIC_BUILD/js/bootstrap.min.js
|
||||
cp $BASEDIR/node_modules/mermaid/dist/mermaid.min.js $STATIC_BUILD/js/mermaid.min.js
|
||||
cp $BASEDIR/node_modules/bootstrap/dist/js/bootstrap.bundle.min.js $STATIC_BUILD/js/bootstrap.js
|
||||
cp $BASEDIR/node_modules/mermaid/dist/mermaid.min.js $STATIC_BUILD/js/mermaid.js
|
||||
|
||||
browserify $STATIC_SRC/js/index.js -o $STATIC_BUILD/js/app.js
|
||||
cp -r $STATIC_SRC/scss $STATIC_BUILD/scss
|
||||
|
|
Loading…
Reference in a new issue