Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
46693c4bef | |||
cd7361bb96 |
@ -27,7 +27,7 @@ import * as _myPlugin from 'myPlugin' // plugin does not get loaded here at runt
|
||||
let myPluginLazy = new LazyModule<typeof _myPlugin>('myPlugin')
|
||||
|
||||
import * as _anotherPlugin from 'anotherPlugin' // plugin does not get loaded here at runtime
|
||||
let anotherPluginPromised = LazyModule<typeof _anotherPlugin>('anotherPlugin')
|
||||
let anotherPluginLazy = new LazyModule<typeof _anotherPlugin>('anotherPlugin')
|
||||
|
||||
myPluginLazy.whenLoaded.then(myPlugin => {
|
||||
/* do something with myPlugin.
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "smartsystem",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.4",
|
||||
"description": "wraps systemjs for smarter workflows",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
|
Reference in New Issue
Block a user