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 d0c4045 commit 6931036
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/configurator.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ 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'||'node-webkit'
||'nwjs';
const isTargetBrowser = target => target === 'web' || target === 'electron-renderer' || 'node-webkit' || 'nwjs';

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

0 comments on commit 6931036

Please sign in to comment.