Skip to content

.gz file names not updated in index.html #75

@akashbiz

Description

@akashbiz

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

  1. In Head: as link and type preload
  2. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions