I'm new to ReactJS and Webpack, I'm using react-boilerplate and I am trying to add a template to the boilerplate which has it's own set of external libraries.
Problem that I'm facing is every time I am trying to include a tag that links to these external libraries, webpack re-compiles these files and changes the content. This is throwing an error.
<!doctype html>
<html lang="en">
<head>
<!-- The first thing in any HTML file should be the charset -->
<meta charset="utf-8">
<!-- Make the page mobile compatible -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Allow installing the app to the homescreen -->
<link rel="manifest" href="manifest.json">
<meta name="mobile-web-app-capable" content="yes">
<title>Avalon</title>
<script type="text/javascript" src="resources/scripts/core/libraries/jquery.min.js"></script>
</head>
<body>
<!-- The app hooks into this div -->
<div id="app"></div>
</body>
</html>
At runtime, if I check the source of jquery.min.js it's content is changed.
I'm not sure what to change in the configuration, or what am I doing wrong.