Maybe I misunderstand the documentation.
I create a file inject.js containing code console.log('injected'); And put it next to package.json. Added option to package.json:
"window": {
"inject-js-end": "inject.js",
But it does not work. I need to inject javascript code into all iframes that I create on the page. How to do it?