Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Fix: Webpack publicPath output configuration was updated to auto.… #13

Merged
merged 1 commit into from
Mar 2, 2023

Conversation

vishalpalaniappan
Copy link
Contributor

… Previous value of "./" was causing build issues.

References

#10

Description

When running NPM start or NPM build, the output publicPath value of "./" was causing an issue where the route could not be found. However, this issue wouldn't have been seen in the build, since index.html would be in the same folder as the script files. Changing publicPath to "auto" fixed both use cases.

Validation performed

  • Cloned a fresh repo, changed publicPath to "auto" and ran a dev server, the application loaded successfully.
  • Cloned a fresh repo, changed publicPath to "auto" and ran a build, the build ran successfully and the application loaded.

… Previous value of "./" was causing build issues.
@kirkrodrigues kirkrodrigues merged commit a13bb09 into y-scope:main Mar 2, 2023
junhaoliao pushed a commit to junhaoliao/yscope-log-viewer that referenced this pull request Mar 11, 2024
Add getAbsoluteUrl function to convert relative paths into absolute ones.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants