37a09891f3
### What? Currently, `next/script` in the App Router does not behave as the docs describe in the [Additional Attributes](https://nextjs.org/docs/app/building-your-application/optimizing/scripts#additional-attributes) section – it does not pass on all additional attributes when `strategy="beforeInteractive"` ([#49830](https://github.com/vercel/next.js/issues/49830)). ### Why? The props from the `<Script>` component were not passed on to the underlying script loader (`self.__next_s`). ### How? I've added the missing props to the object that is `push`ed to `self.__next_s`. NEXT-1304 Fixes #49830 |
||
---|---|---|
.. | ||
hello.txt | ||
noop-test.js | ||
test1.js | ||
test2.js | ||
test3.js | ||
test4.js |