660e566201
Exposing these in the renderer didn't make sense as they weren't backed by the same instance / value store. This API should be browser only especially now that we have nativeTheme.themeSource. Exposing in //common was a mistake from the beginning.
8 lines
443 B
TypeScript
8 lines
443 B
TypeScript
// Common modules, please sort alphabetically
|
|
export const commonModuleList: ElectronInternal.ModuleEntry[] = [
|
|
{ name: 'clipboard', loader: () => require('./clipboard') },
|
|
{ name: 'nativeImage', loader: () => require('./native-image') },
|
|
{ name: 'shell', loader: () => require('./shell') },
|
|
// The internal modules, invisible unless you know their names.
|
|
{ name: 'deprecate', loader: () => require('./deprecate'), private: true }
|
|
]
|