removed the runtime chunk

This commit is contained in:
antelle 2020-12-12 10:38:39 +01:00
parent acc60e6297
commit bf2d72745a
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
3 changed files with 2 additions and 3 deletions

View File

@ -263,7 +263,7 @@ module.exports = function (grunt) {
algo: 'sha512', algo: 'sha512',
expected: { expected: {
style: 1, style: 1,
script: 2 script: 1
} }
}, },
app: { app: {

View File

@ -72,7 +72,6 @@
<link rel="manifest" href="manifest.json" /> <link rel="manifest" href="manifest.json" />
<link rel="stylesheet" href="css/app.css?__inline=true" /> <link rel="stylesheet" href="css/app.css?__inline=true" />
<script src="js/app.js?__inline=true"></script> <script src="js/app.js?__inline=true"></script>
<script src="js/runtime.js?__inline=true"></script>
</head> </head>
<body class="th-d"> <body class="th-d">
<noscript> <noscript>

View File

@ -179,7 +179,7 @@ function config(options) {
] ]
}, },
optimization: { optimization: {
runtimeChunk: 'single', runtimeChunk: false,
minimize: !devMode, minimize: !devMode,
minimizer: [ minimizer: [
new TerserPlugin({ new TerserPlugin({