Skip to content

Instantly share code, notes, and snippets.

@cmidgley
Created May 19, 2022
Embed
What would you like to do?
WeakMap crash with preload
import { MyClass } from './myclass';
const weak = new WeakMap();
weak.set(MyClass, {});
trace('Success\n');
{
"include": [
"$(MODDABLE)/examples/manifest_base.json"
],
"modules": {
"*": ["./*"]
},
"preload": ["myclass"],
"strip": []
}
export class MyClass {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment