We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20f359d commit 4cf2adeCopy full SHA for 4cf2ade
lib/index.js
@@ -53,7 +53,7 @@ module.exports = function (source) {
53
const incomingQuery = qs.parse(rawQuery)
54
const options = loaderUtils.getOptions(loaderContext) || {}
55
56
- const isServer = target === 'node'
+ const isServer = target === 'node' || target === 'node-webkit'
57
const isShadow = !!options.shadowMode
58
const isProduction = options.productionMode || minimize || process.env.NODE_ENV === 'production'
59
const filename = path.basename(resourcePath)
0 commit comments