Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

Problems when the same CSS @import is used in entry and on-demand chunks #14

@necolas

Description

@necolas

If the CSS of a module contained in a loaded-on-demand chunk @import's a CSS file that was also imported by the CSS of a module in an entry chunk, the module that was created (by css-loader) is stripped from the output.

When the chunk is loaded, it throws an error because the import's module is missing from the build output. Also note the injection of this in the head of the document:

<style type="text/css">[object Object]</style>

(Note that this issue may be related to #11, and that the test case uses the style-loader separately in order to avoid the error from #11)

Test case

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