commit
051f2f567c
|
@ -12,8 +12,8 @@
|
|||
|
||||
<title>OpenSupports</title>
|
||||
|
||||
<link rel="stylesheet" href="<?=$url ?>/css/main.css">
|
||||
<link rel="icon" type="image/x-icon" href="<?=$url ?>/images/icon.png">
|
||||
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -28,6 +28,7 @@
|
|||
<?php if (preg_match('~MSIE|Internet Explorer~i', $_SERVER['HTTP_USER_AGENT']) || (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0') !== false)): ?>
|
||||
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=String.prototype.startsWith,Array.from,Array.prototype.fill,Array.prototype.keys,Array.prototype.find,Array.prototype.findIndex,Array.prototype.includes,String.prototype.repeat,Number.isInteger,Promise&flags=gated"></script>
|
||||
<?php endif; ?>
|
||||
<script src="<?=$url ?>/js/main.js"></script>
|
||||
<script src="<?=$url ?>/vendor.js"></script>
|
||||
<script src="<?=$url ?>/bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -95,7 +95,9 @@ const config = env => {
|
|||
'./src/.htaccess',
|
||||
{from: './src/assets/images', to: 'images'},
|
||||
]),
|
||||
new BundleAnalyzerPlugin(),
|
||||
new BundleAnalyzerPlugin({
|
||||
analyzerMode: process.env.NODE_ENV !== 'production' ? 'server' : 'disabled'
|
||||
}),
|
||||
],
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
|
|
Loading…
Reference in New Issue