changed project structure for hosting
This commit is contained in:
4
dist/html/index.html → dist/index.html
vendored
4
dist/html/index.html → dist/index.html
vendored
@@ -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>
|
||||
0
dist/bundle.js → dist/js/bundle.js
vendored
0
dist/bundle.js → dist/js/bundle.js
vendored
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user