build: fix filenames autogen with new BUILDFLAG syntax (#23952)
This commit is contained in:
parent
2fadb73032
commit
b1adbf7fd7
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class AccessDependenciesPlugin {
|
|||
}
|
||||
|
||||
const defines = {
|
||||
BUILDFLAG: ''
|
||||
BUILDFLAG: onlyPrintingGraph ? '(a => a)' : ''
|
||||
}
|
||||
|
||||
const buildFlagsPrefix = '--buildflags='
|
||||
|
@ -95,7 +95,7 @@ module.exports = ({
|
|||
},
|
||||
module: {
|
||||
rules: [{
|
||||
test: (moduleName) => ignoredModules.includes(moduleName),
|
||||
test: (moduleName) => !onlyPrintingGraph && ignoredModules.includes(moduleName),
|
||||
loader: 'null-loader',
|
||||
}, {
|
||||
test: /\.ts$/,
|
||||
|
|
Loading…
Reference in a new issue