Bit more sustainable file location.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -2,5 +2,4 @@
|
||||
vendor
|
||||
node_modules
|
||||
.php_cs.cache
|
||||
public/bundle.js
|
||||
*.map
|
||||
public/generated
|
||||
|
||||
@@ -36,7 +36,7 @@ function startOpenAnimation() {
|
||||
}
|
||||
|
||||
function loadFont() {
|
||||
import('../node_modules/three/examples/fonts/helvetiker_bold.typeface').then(function (data) {
|
||||
import('three/examples/fonts/helvetiker_bold.typeface').then(function (data) {
|
||||
let font = new THREE.Font(data);
|
||||
let geometry = new THREE.TextGeometry('Ja!', {
|
||||
font: font,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="creator" value="Genetic Lifeform and Beer Operating System - GLaBOS">
|
||||
<title>Nee... • IsDeFooBarOpen.nl</title>
|
||||
<script src="bundle.js"></script>
|
||||
<script src="generated/bundle.js"></script>
|
||||
</head>
|
||||
<body class="closed">
|
||||
<div id="stop-overlay">
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="creator" value="Genetic Lifeform and Beer Operating System - GLaBOS">
|
||||
<title>JA! • IsDeFooBarOpen.nl</title>
|
||||
<script src="bundle.js"></script>
|
||||
<script src="generated/bundle.js"></script>
|
||||
</head>
|
||||
<body class="open">
|
||||
</body>
|
||||
|
||||
@@ -5,7 +5,8 @@ module.exports = {
|
||||
devtool: "source-map",
|
||||
output: {
|
||||
filename: 'bundle.js',
|
||||
path: path.resolve(__dirname, 'public')
|
||||
path: path.resolve(__dirname, 'public', 'generated'),
|
||||
publicPath: '/generated/'
|
||||
},
|
||||
module: {
|
||||
rules: [{
|
||||
|
||||
Reference in New Issue
Block a user