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>
|
<head>
|
||||||
<meta charste="UTF-8">
|
<meta charste="UTF-8">
|
||||||
<title>Evolution Simulator</title>
|
<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">
|
<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>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script src="../bundle.js"></script>
|
<script src="./js/bundle.js"></script>
|
||||||
|
|
||||||
<div id='env'>
|
<div id='env'>
|
||||||
<canvas id='env-canvas'></canvas>
|
<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',
|
entry: './src/index.js',
|
||||||
output: {
|
output: {
|
||||||
filename: 'bundle.js',
|
filename: 'bundle.js',
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist/js/'),
|
||||||
},
|
},
|
||||||
externals: {
|
externals: {
|
||||||
jquery: 'jQuery'
|
jquery: 'jQuery'
|
||||||
|
|||||||
Reference in New Issue
Block a user