Skip to content

wrong path to chunk.js when vendor.js loading in async mode #41

@zion03

Description

@zion03

As I understand Cropper.js from the box loading like a chunk by path /assets/chunk.js and it's works fine.
But when I changed vendor.js script to async like

<script async src="{{rootURL}}assets/vendor.js"></script>

the path chaged to chunk.js without assets.
This is not a critical problem, but not obvious.
Grateful for any ideas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions