-
-
Notifications
You must be signed in to change notification settings - Fork 204
Closed
Milestone
Description
Using Webpack 1.13.2 , html-loader 0.4.3 on OSX.
I'm migrating an app to Webpack and now need to use the html-loader with ngtemplate-loader.
The index.html has set <base href="/foo/" />
And all our internal links and image sources start with ./.
For example: /folder/partial.html contains <img src="./bar/baz.png">
Though the browser will read the image from /foo/bar/baz.png
I guess that html-loader doesn't know about the base href and now tries to search for the image in /folder/bar/baz.png.
Is it somehow possible to tell html-loader about the base href?
Metadata
Metadata
Assignees
Labels
No labels