Update WebPack

This commit is contained in:
Tyler Vigario 2020-05-20 15:36:22 -07:00
parent 6ca2db77de
commit 95dd75bc1c
No known key found for this signature in database
GPG Key ID: 4D670648A0376AA4
5 changed files with 23 additions and 78 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,54 +0,0 @@
/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2020-03-14
*/
/*!
* jQuery JavaScript Library v3.5.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
*/
/*!
* jQuery Migrate - v3.3.0 - 2020-05-05T01:57Z
* Copyright OpenJS Foundation and other contributors
*/
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/

View File

@ -6,16 +6,16 @@
<title>botamusique web interface</title>
<link rel="icon" href="web/build/assets/image/favicon.ico" />
<link rel="icon" href="assets/img/favicon.ico" />
<link rel="stylesheet" href="web/build/assets/css/main.css">
<link rel="stylesheet" href="assets/css/main.css">
</head>
<body>
<div class="container page-header mb-5" id="banner">
<div class="row">
<div class="col-auto">
<img src="web/build/assets/image/logo.png" height="200px">
<img src="assets/img/logo.png" height="200px">
</div>
<div class="col my-auto">
<h1>botamusique Web Interface</h1>
@ -23,7 +23,6 @@
</div>
</div>
<div id="playlist" class="container mb-5">
<div class="btn-toolbar mb-2" role="toolbar" aria-label="Playlist controls">
<button type="button" id="play-pause-btn" class="btn btn-info mb-2 btn-space" onclick="togglePlayPause()">
@ -89,12 +88,12 @@
<tbody id="playlist-table" class="playlist-table">
<tr id="playlist-loading">
<td colspan="4" class="text-center">
<img style="margin: auto; width: 35px;" src="web/build/assets/image/loading.svg" />
<img style="margin: auto; width: 35px;" src="assets/img/loading.svg" />
</td>
</tr>
<tr id="playlist-empty" class="d-none">
<td colspan="4" class="text-center">
<img style="margin: auto; width: 35px;" src="web/build/assets/image/empty_box.svg" />
<img style="margin: auto; width: 35px;" src="assets/img/empty_box.svg" />
</td>
</tr>
<tr class="playlist-expand table-dark d-none">
@ -109,7 +108,7 @@
<td>
<input hidden type="text" class="playlist-item-id" value="" />
<div class="float-left">
<img width="80" class="playlist-item-thumbnail" src="web/build/assets/image/unknown-album.png" />
<img width="80" class="playlist-item-thumbnail" src="assets/img/unknown-album.png" />
</div>
<div class="playlist-artwork">
<b class="playlist-item-title"></b>
@ -208,10 +207,10 @@
<div class="card-body">
<div id="library-group" class="list-group library-group" style="overflow: auto;">
<div id="library-item-loading" class="list-group-item library-item">
<img style="margin: auto; width: 35px;" src="web/build/assets/image/loading.svg" />
<img style="margin: auto; width: 35px;" src="assets/img/loading.svg" />
</div>
<div id="library-item-empty" style="display: none" class="list-group-item library-item">
<img style="margin: auto; width: 35px;" src="web/build/assets/image/empty_box.svg" />
<img style="margin: auto; width: 35px;" src="assets/img/empty_box.svg" />
</div>
<div id="library-item" style="display: none;" class="list-group-item library-item">
<input hidden type="text" class="library-item-id" value="" />
@ -219,7 +218,7 @@
<div class="library-thumb-col">
<div class="library-thumb-img">
<img class="library-item-thumb library-thumb-img"
src="web/build/assets/image/unknown-album.png" />
src="assets/img/unknown-album.png" />
</div>
<div class="btn-group-vertical library-thumb-grp">
<div class="library-item-play btn btn-secondary library-thumb-btn-up" title="Play">
@ -252,10 +251,10 @@
<div id="library-group" class="list-group library-group" style="overflow: auto;">
<div id="library-item-loading" class="list-group-item library-item">
<img style="margin: auto; width: 35px;" src="web/build/assets/image/loading.svg" />
<img style="margin: auto; width: 35px;" src="assets/img/loading.svg" />
</div>
<div id="library-item-empty" style="display: none" class="list-group-item library-item">
<img style="margin: auto; width: 35px;" src="web/build/assets/image/empty_box.svg" />
<img style="margin: auto; width: 35px;" src="assets/img/empty_box.svg" />
</div>
<div id="library-item" style="display: none;" class="list-group-item library-item">
<input hidden type="text" class="library-item-id" value="" />
@ -457,8 +456,8 @@
</button>
</div>
<div class="toast-body" id="playerContainer">
<img id="playerArtworkIdle" src="web/build/assets/image/empty_box.svg" />
<img id="playerArtwork" src="web/build/assets/image/unknown-album.png" style="display: none;" />
<img id="playerArtworkIdle" src="assets/img/empty_box.svg" />
<img id="playerArtwork" src="assets/img/unknown-album.png" style="display: none;" />
<div id="playerInfo">
<div id="playerActionBox">
<button id="playerPlayBtn" class="btn btn-primary btn-sm btn-space" style="display: none"
@ -575,7 +574,7 @@
<input type="hidden" id="maxUploadFileSize" value="{{ max_upload_file_size }}" />
<script src="web/build/assets/js/main.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>

View File

@ -6,10 +6,10 @@
<title>botamusique web interface</title>
<link rel="icon" href="web/build/assets/image/favicon.ico" />
<link rel="icon" href="assets/img/favicon.ico" />
<link id="pagestyle" rel="stylesheet" href="web/build/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="web/build/assets/css/main.css">
<link id="pagestyle" rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/main.css">
</head>
<body>
@ -40,10 +40,10 @@
</div>
<script src="web/build/assets/js/jquery-3.5.1.min.js"></script>
<script src="web/build/assets/js/popper.min.js"></script>
<script src="web/build/assets/js/bootstrap.min.js"></script>
<script src="web/build/assets/js/fontawesome.all.min.js"></script>
<script src="assets/js/jquery-3.5.1.min.js"></script>
<script src="assets/js/popper.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/fontawesome.all.min.js"></script>
</body>
</html>

View File

@ -10,7 +10,7 @@ module.exports = {
],
},
output: {
filename: 'assets/js/[name].js',
filename: 'static/js/[name].js',
path: path.resolve(__dirname, '../'),
//ecmaVersion: 5,
},