Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

How can I write the regular expression for async and defer for this module. #3

Open
anowarcitytech opened this issue Sep 15, 2022 · 1 comment

Comments

@anowarcitytech
Copy link

How can I write the regular expression for async and defer for this module.

@MrBlueEyez
Copy link
Collaborator

Hello,

You can try the following regex:
^((?!require.js).)*$

This regex should match all js except the require js, to avoid issues with loading.

Please let me know if this works for you.

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

No branches or pull requests

2 participants