Skip to content

Commit

Permalink
fix: remove nullish coalescing in js files to support node 12 (#20094)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachJW34 committed Feb 8, 2022
1 parent 5d36a7f commit dd11945
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion npm/react/plugins/utils/get-transpile-folders.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const path = require('path')

function getTranspileFolders (config) {
const rawFolders = config.addTranspiledFolders ?? []
const rawFolders = config.addTranspiledFolders || []
const folders = rawFolders.map((folder) => path.resolve(config.projectRoot, folder))

// user can disable folders, so check first
Expand Down

0 comments on commit dd11945

Please sign in to comment.