-
-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Description
Hello, I am using this plugin to gzip my bundle and chunk js so that my application should load faster. I followed integration steps and build generates .gz files too but those .gz file names are not updated in index.html Have anyone face this issue?
Also it adds scripts two times in index.html
- In Head: as link and type preload
- In Body: as script and type test/javascript
can you explain me why it is used two times?
my index.html file still looks like:
<!doctype html>
<html lang=en>
<head>
<title>Gzip compression</title>
<base href="/">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="preload" href="polyfills.bundle.js" as="script"/><link rel="preload" href="main.bundle.js" as="script"/>
</head>
<body>
<app>Loading...</app>
<script type="text/javascript" src="polyfills.bundle.js"></script><script type="text/javascript" src="main.bundle.js" async></script
</body>
</html>
Metadata
Metadata
Assignees
Labels
No labels