Aurelia Custom Plugin giving no exported Member -


i trying write plugin, basic local storage wrapper, angular-local-storage. in index.js have

export function configure(config) {   config.globalresources('./local-storage-provider'); } 

and in local-storage-provider.js have

export class localstorageproivder {   constructor(prefix = '') {     this.prefix = prefix;   }    setprefix(prefix = ''){     this.prefix = `${prefix}.`;   }    get(name){     return localstorage.getitem(this.prefix+name);   }    set(name, value){     localstorage.setitem(this.prefix+name, value);   } } 

test cases wrote passing when try use app getting

node_modules/aurelia-local-storage/dist/commonjs/index"' has no exported member 'localstorageproivder'. 

i using skelton-plugin. there doing wrong?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -