Skip to content

CSS and JavaScript got injected two times in every file #21

@weber-d

Description

@weber-d

Using the hello world example I noticed that the content of each file is served two times. Doesn't seem to make any difference if we have js or css files.

Simple example: I create a file called style.css with the following content:

.lotusHeader .shareSome-desc .shareSome-title{
    font-size:40px;
    color:orange
}

When I access the injected file from the webserver, It has the following content:

.lotusHeader .shareSome-desc .shareSome-title{
    font-size:40px;
    color:orange
}
.lotusHeader .shareSome-desc .shareSome-title{
    font-size:40px;
    color:orange
}

That's not only a performance issue case it also applys to javascript, so that every code got executet two times.

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