kendarorg / kendarorg/RepositoryCache
Setup base url for plugins
- Dominant language
- C#
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Try setting the publicPath in your webpack config:
output.publicPath = '/'
HtmlWebpackPlugin use the publicPath to prepend the urls of the injects.
Another option is to set the base href in the of your html template, to specify the base url of all relative urls in your document.
base href="http://localhost:3000
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the webpack configuration and HTML template, then inspect how HtmlWebpackPlugin injects asset URLs. Configure the public path or document base URL described in the issue, and verify that injected plugin URLs and relative links resolve from the intended root.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- webpack
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100