changed project structure for hosting

This commit is contained in:
MaxRobinsonTheGreat
2020-07-22 18:52:51 -06:00
parent 6d25a0a745
commit 8fb471025e
3 changed files with 3 additions and 3 deletions

View File

@@ -3,12 +3,12 @@
<head>
<meta charste="UTF-8">
<title>Evolution Simulator</title>
<link rel="stylesheet" href="../css/style.css">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</head>
<body>
<script src="../bundle.js"></script>
<script src="./js/bundle.js"></script>
<div id='env'>
<canvas id='env-canvas'></canvas>

View File

View File

@@ -4,7 +4,7 @@ module.exports = {
entry: './src/index.js',
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist'),
path: path.resolve(__dirname, 'dist/js/'),
},
externals: {
jquery: 'jQuery'