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
Include relative static files from index.html #3079
Comments
This will include the - file1.js script in your HTML file. |
Sorry but how do I get the "lib" folder to be served as a static folder in webpack? |
You can use the CopyWebpackPlugin to copy the lib folder to the output directory during the build process. |
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: