Skip to content

Commit

Permalink
support node-webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
xinhailishi authored Dec 9, 2020
1 parent 2e8070b commit ccd113c
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' || target === 'node-webkit' || target === 'nwjs';
const isTargetBrowser = target => target === 'web' || target === 'electron-renderer'
|| target === 'node-webkit' || target === 'nwjs';

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

0 comments on commit ccd113c

Please sign in to comment.