Skip to content

webpack-plugin: run loaders on everything that looks like urls #46

Open
@Zn4rK

Description

@Zn4rK

Our loader runs too early in some cases. If we include our loader too late in the process, some of our identifiers might've been three shaken away (such as globalStyle).

If we include it too early, and user code in Navita rely on other transforms that also happens, our evaluation process will fail.

So, maybe two loaders? One that finds modules that might be tree shaken away, and does something to/with them, and then the one we have now, but to make sure it runs last.

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