We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8aa9d0 commit 811c7e3Copy full SHA for 811c7e3
npm/react/plugins/utils/get-transpile-folders.js
@@ -1,6 +1,9 @@
1
// @ts-check
2
+const path = require('path')
3
+
4
function getTranspileFolders (config) {
- const folders = []
5
+ const rawFolders = config.addTranspiledFolders ?? []
6
+ const folders = rawFolders.map((folder) => path.resolve(config.projectRoot, folder))
7
8
// user can disable folders, so check first
9
if (config.componentFolder) {
0 commit comments