-
Notifications
You must be signed in to change notification settings - Fork 569
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
Pathing issue for prod build #75
Comments
Could you show how those paths look if you build dev? The URL are looking quite strange |
hi, in html we added picture via <%=require ('./images/picture')%> but how to add image via scss? |
you can try to use the modern fork. Using this fork you can:
The new html-bundler-webpack-plugin resolves all source assets in a template or SCSS. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a static html page that needs to load the built css and js. Running
npm run start
loads all proper resource, however when building the prod script,npm run build
, all resources (js, css, images) cannot be found. The app builds with no errors and I see all the dist files. It seems that there is an issue with my pathing configuration -- the html references/js/script.js
instead ofjs/scripts.js
.Would you have any pointers?
The text was updated successfully, but these errors were encountered: