Skip to content

Commit a375f74

Browse files
author
Stanislav Germanovskii
authored
Merge pull request #421 from xinhailishi/master
support node-webkit
2 parents d5ddfef + 802910b commit a375f74

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/configurator.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ const loaderDefaults = defaults.loader;
66
const isomorphicSpriteModule = require.resolve('../runtime/sprite.build');
77
const isomorphicSymbolModule = require.resolve('svg-baker-runtime/symbol');
88

9-
const isTargetBrowser = target => target === 'web' || target === 'electron-renderer';
9+
const isTargetBrowser = target => target === 'web' || target === 'electron-renderer'
10+
|| target === 'node-webkit' || target === 'nwjs';
1011

1112
/**
1213
* @param {Object} params

0 commit comments

Comments
 (0)