Skip to content

Commit dd11945

Browse files
authored
fix: remove nullish coalescing in js files to support node 12 (#20094)
1 parent 5d36a7f commit dd11945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm/react/plugins/utils/get-transpile-folders.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
const path = require('path')
33

44
function getTranspileFolders (config) {
5-
const rawFolders = config.addTranspiledFolders ?? []
5+
const rawFolders = config.addTranspiledFolders || []
66
const folders = rawFolders.map((folder) => path.resolve(config.projectRoot, folder))
77

88
// user can disable folders, so check first

0 commit comments

Comments
 (0)