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

build public path with correct hash value #249

Merged
merged 2 commits into from
Mar 17, 2016
Merged

Conversation

sandeep45
Copy link
Contributor

Currently if my webpack config has: publicPath: "/dist/[hash]/" then my output html file will have: <script src="/dist/[hash]/commons_11e1b2480d26bdc6c179.js">

WIth this fix [hash] gets replaced with the actual hash value.

@jantimon
Copy link
Owner

Could you please add a unit test?

…sed as the directory name holding the bundle file
@sandeep45
Copy link
Contributor Author

@jantimon I have added a unit test. Please review.

jantimon added a commit that referenced this pull request Mar 17, 2016
build public path with correct hash value
@jantimon jantimon merged commit 67ca550 into jantimon:master Mar 17, 2016
@lock
Copy link

lock bot commented May 31, 2018

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants