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

feat: exclude files that referenced as assets #545

Merged
merged 2 commits into from Dec 19, 2021
Merged

feat: exclude files that referenced as assets #545

merged 2 commits into from Dec 19, 2021

Conversation

latin-1
Copy link
Contributor

@latin-1 latin-1 commented Dec 18, 2021

Sometimes, we may want to include some js files as-is by writing some code like:

loadScript(new URL('./vendor.js', import.meta.url).toString())

In this case, injecting runtime code cause that file to be broken. We should exclude all asset modules from being injected.

@pmmmwh pmmmwh merged commit 800f8ba into pmmmwh:main Dec 19, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants