-
Notifications
You must be signed in to change notification settings - Fork 8
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
Catch all script? #17
Comments
Hello @markpinero, that's a good idea. Currently you should be able to configure a wildcard to match all pages, but only one client script will be injected at a time. That's this section in the code: next-client-script/packages/next-client-script/src/ClientScript.tsx Lines 25 to 35 in de5ed6f
I guess if you'd adapt that to render a script tag for every matched client script, you could get this working. Would you be interested in contributing this feature? |
Yes, I would love to give it a shot. |
Great, let me know how it goes! |
Hi, is there a way to have pattern matching for scripts with all pages along with page-specific code? IE:
The text was updated successfully, but these errors were encountered: