Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Option to make webpack middleware to be synchronous? #578

@asadsahi

Description

@asadsahi

Is there a way to run webpack middleware run synchronously and complete its action before next middleware runs.

Problem I am having is that page renders first and I am dynamically reading main.js file from wwwroot folder inside angular 2/webpack based project. e.g this is the dynamic main.js file reference:

<script src="~/dist/@ViewBag.HashedMain" asp-append-version="true"></script>

But the file isn't created in wwwroot folder yet. After few seconds, file is created and refreshing the page picks that file up.

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