Closed arjasepp closed 3 years ago
This sounds like an issue covered in the docs. I can't look it up right now, but take a look there
@arjasepp : you using webpack? if so, try this
new ModuleDependenciesPlugin({
"aurelia-authentication": ["./authFilterValueConverter"]
}),
then inside your startup/boot like this
export function configure(aurelia: Aurelia) {
aurelia.use.standardConfiguration()
.globalResources(PLATFORM.moduleName("aurelia-authentication/authFilterValueConverter"))
...
.plugin(PLATFORM.moduleName("aurelia-authentication"), baseConfig => {
baseConfig.configure(authConfig);
})
aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName("app")));
Somehow I get this error. Anyone has an idea how to fix it or what should I do?