Skip to content

Commit

Permalink
Merge pull request #8 from chentsulin/remove-main-process-only-modules
Browse files Browse the repository at this point in the history
Close #6, Remove main process only modules
  • Loading branch information
chentsulin committed Jan 12, 2016
2 parents 30ce30f + 51ff52a commit 62e362d
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,16 @@ module.exports = function(options) {
new FunctionModulePlugin(options.output),
new NodeTargetPlugin(),
new ExternalsPlugin('commonjs', [
'app',
'auto-updater',
'browser-window',
'content-tracing',
'desktop-capturer',
'dialog',
'electron',
'global-shortcut',
'ipc',
'ipc-main',
'ipc-renderer',
'menu',
'menu-item',
'native-image',
'power-monitor',
'power-save-blocker',
'protocol',
'tray',
'remote',
'web-frame',
'clipboard',
'crash-reporter',
'screen',
'session',
'shell'
]),
new LoaderTargetPlugin(options.target)
Expand Down

0 comments on commit 62e362d

Please sign in to comment.