This PR works alongside the PR added to electron-compile to take any relative
paths found on the 'src' attribute of an x-require tag, and make that path
relative to the parent's page.
This means that when you attempt to include files that are inside an HTML
Import (i.e. a Polymer component), require paths will be relative to that HTML
file and not relative to the hosting index page.
This PR works alongside the PR added to electron-compile to take any relative paths found on the 'src' attribute of an x-require tag, and make that path relative to the parent's page.
This means that when you attempt to include files that are inside an HTML Import (i.e. a Polymer component), require paths will be relative to that HTML file and not relative to the hosting index page.