This commit is contained in:
Vendored
+1
-1
@@ -8,7 +8,7 @@ pipeline {
|
||||
}
|
||||
stage('Build') {
|
||||
steps {
|
||||
sh 'wasm-pack build --target web --out-dir /var/www/zwietering.eu/projects/double-pendulum'
|
||||
sh 'wasm-pack build --target web --out-dir /var/www/zwietering.eu/projects/double-pendulum/pkg'
|
||||
sh 'cp ./index.html /var/www/zwietering.eu/projects/double-pendulum'
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<script type="module">
|
||||
import init from './double_pendulum_wasm.js';
|
||||
import init from './pkg/double_pendulum_wasm.js';
|
||||
|
||||
async function run() {
|
||||
await init();
|
||||
|
||||
Reference in New Issue
Block a user