rustyscreeps/screeps-starter-rust

wrong module name in javascript

Closed this issue · 1 comments

Wasm_pack runs with the following option: --out-name" "screeps"

if one does not edit the javascript file to change "screeps-starter-rust" to "screeps", one gets the following error:

stack trace: Error: Unknown module 'screeps-starter-rust'

because only a screeps.js file is produced.

after looking into cargo screeps code it appears the issue comes from my use of a different folder name, my bad, this can be closed as PEBKAC