Skip to content

Ignore chunk via webpack comment #6

@CzBiX

Description

@CzBiX

I tried add webpack comment to disable prefetch/preload, but the chunck still builded into html as rel="prefetch".
Is it possible to disable it without modify blacklist in webpack config?

My code:

await import(/* webpackPrefetch: false */ 'some-module')

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