Typo: should be `swig.setDefaults({ loader: swig.loaders.Memory({`