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

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

0 comments on commit 2e8070b

Please sign in to comment.