on-internet
← Community

HTML webpack plugin not injecting script to template

Stack Overflow ·

When trying to build the project, two HTML files get created i.e (dist/test.html and dist/src/index.html) dist/test.html /dist/src/index.html?88827167<script type="text/javascript" src="/assets/vendors.chunk.js"></script> <script type="text/javascript" src="/assets/client.js"></script> dist/src/index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <meta http-equiv="cache-control" content="max-age=0" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="expires" c

Comments

Sign in or sign up to comment and upvote.

No comments yet.