plugin system v0
This commit is contained in:
parent
2849f773e2
commit
c0360e7beb
9 changed files with 73 additions and 11 deletions
|
|
@ -83,9 +83,15 @@ var createBundle = function(opts) {
|
|||
b.require('./js/models/core/HDPath', {
|
||||
expose: '../js/models/core/HDPath'
|
||||
});
|
||||
b.require('./plugins/googleDrive', {
|
||||
expose: '../plugins/googleDrive'
|
||||
b.require('./js/models/core/PluginManager', {
|
||||
expose: '../js/models/core/PluginManager'
|
||||
});
|
||||
|
||||
if (!opts.disablePlugins) {
|
||||
b.require('./plugins/GoogleDrive', {
|
||||
expose: '../plugins/GoogleDrive'
|
||||
});
|
||||
}
|
||||
|
||||
b.require('./config', {
|
||||
expose: '../config'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue