Skip to content

Add async attribute to script tags for  #3323

Description

@zackarychapple

When trying to use the bootloader from AngularClass in combination with async script tags there is not currently a way to make this work with the CLI since the conversion to webpack adds the script tags programatically. Is there a way for us to manually define the script tags in the index.html and not have webpack add them?

OS?

All

Versions.

Beta.21

Repro steps.

Ng Build / Ng Serve produces the following in index.html

<script type="text/javascript" src="inline.js"></script><script type="text/javascript" src="styles.bundle.js"></script><script type="text/javascript" src="scripts.bundle.js"></script><script type="text/javascript" src="main.bundle.js"></script>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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