Skip to content

Commit

Permalink
Merge pull request #421 from xinhailishi/master
Browse files Browse the repository at this point in the history
support node-webkit
  • Loading branch information
Stanislav Germanovskii authored Dec 10, 2020
2 parents d5ddfef + 802910b commit a375f74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/configurator.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const loaderDefaults = defaults.loader;
const isomorphicSpriteModule = require.resolve('../runtime/sprite.build');
const isomorphicSymbolModule = require.resolve('svg-baker-runtime/symbol');

const isTargetBrowser = target => target === 'web' || target === 'electron-renderer';
const isTargetBrowser = target => target === 'web' || target === 'electron-renderer'
|| target === 'node-webkit' || target === 'nwjs';

/**
* @param {Object} params
Expand Down

0 comments on commit a375f74

Please sign in to comment.