File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -222,3 +222,4 @@ The following option has been changed to resourceQuery:
222
222
- ` transformAssetUrls `
223
223
- ` optimizeSSR `
224
224
- ` hotReload `
225
+ - ` productionMode `
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ module.exports = function (source) {
30
30
31
31
const isServer = target === 'node'
32
32
const isShadow = incomingQuery . shadow != null
33
- const isProduction = minimize || process . env . NODE_ENV === 'production'
33
+ const isProduction = options . productionMode || minimize || process . env . NODE_ENV === 'production'
34
34
const filename = path . basename ( resourcePath )
35
35
const context = rootContext || process . cwd ( )
36
36
const sourceRoot = path . dirname ( path . relative ( context , resourcePath ) )
You can’t perform that action at this time.
0 commit comments