You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry but how do I get the "lib" folder to be served as a static folder in webpack?
If I do like in your example, I get a 404 error because the router is trying to render
Localhost:3000/lib/file1.js
Which doesn't exist because the lib folder isn't served properly
I'm not super familiar with webpack and I'm trying to include some JS files in index.html
For example:
index.html
[ lib ]
- file1.js
- file2.js
I'm looking to achieve something like that:
<script src='lib/file1.js'></script>
I've looked at #984 but that didnt' help my solve my issue, as it's a very old post.
The text was updated successfully, but these errors were encountered: