Record<string, boolean | string>
undefined
Set different script tag inject positions for different pages.
The usage is same as inject
, and you can use the "entry name" as the key to set each page individually.
injectByEntries
will overrides the value set in inject
.
Deprecated: This configuration is deprecated, please use the function usage of html.inject
instead.
After recompiling, you will see:
foo
will be injected inside the body
tag.head
tag.