Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Zn4rK opened this issue Apr 14, 2024 · 0 comments
Open

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

Zn4rK opened this issue Apr 14, 2024 · 0 comments

Comments

@Zn4rK
Copy link
Contributor

Zn4rK commented Apr 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant