I have a simple HTML file with a script src as index.ts.
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script src="./src/index.ts"></script>
</body>
</html>
index.js
console.log("Hello!!!")
I wish to simply run this HTML file.
I am following a tutorial series that gives instructions on how to install Parcel, and run it with that.
However, I have been encountering issue after issue with Parcel... I have looked through the tutorial Q&A and have tried every solution to try and get parcel working. Each solution just ends up causing another issue!
How can I get this to run? Webpack? If so, how do I configure Webpack for this? (Never used Webpack)