Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

[request] Export parseQuery #76

@anseki

Description

@anseki

Hi, thank you for the useful tool.

So, I understand that the getOptions is provided instead of the getLoaderConfig and parseQuery, in new version.
But I hope that the parseQuery is exported by new version also because that is useful for parsing other query strings e.g. context.resourceQuery.

loader-utils still has the parseQuery, and we can import it by

require(path.resolve(path.dirname(require.resolve('loader-utils')), 'parseQuery.js'))

Of course I know this is not good way.
I hope that the loader-utils exports the parseQuery and supports it.

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