Revised webpack bundling

This commit is contained in:
Taloth Saldono 2019-12-09 21:42:39 +00:00 committed by Qstick
commit 66c5828c92
7 changed files with 218 additions and 25 deletions

View file

@ -47,8 +47,8 @@
content="/Content/Images/Icons/browserconfig.xml"
/>
<link rel="stylesheet" type="text/css" href="/Content/styles.css" />
<link rel="stylesheet" type="text/css" href="/Content/Fonts/fonts.css" />
<link rel="stylesheet" type="text/css" href="/Content/Fonts/fonts.css">
<!-- webpack bundles head -->
<title>Lidarr</title>
@ -80,7 +80,5 @@
<script src="/initialize.js" data-no-hash></script>
<script src="/polyfills.js"></script>
<script src="/vendor.js"></script>
<script src="/preload.js"></script>
<script src="/index.js"></script>
<!-- webpack bundles body -->
</html>

View file

@ -1,3 +1,6 @@
/* eslint-disable-next-line no-undef */
__webpack_public_path__ = `${window.Lidarr.urlBase}/`;
import React from 'react';
import { render } from 'react-dom';
import { createBrowserHistory } from 'history';

View file

@ -1,2 +0,0 @@
/* eslint no-undef: 0 */
__webpack_public_path__ = `${window.Lidarr.urlBase}/`;

View file

@ -1,5 +0,0 @@
/* Base */
// require('jquery');
require('lodash');
require('moment');
// require('signalR');