We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92ba8d9 commit c410020Copy full SHA for c410020
1 file changed
lib/react/engine.js
@@ -15,7 +15,7 @@ const tree = dirTree('./react/')
15
if (tree) {
16
for (const index in tree.children) {
17
const file = tree.children[index]
18
- if (file.type === 'file') {
+ if (file.type === 'file' && file.extension === '.js') {
19
if (!fs.existsSync(path.join(dist, 'react'))) {
20
fs.mkdirSync(path.join(dist, 'react'), { recursive: true })
21
}
0 commit comments