Skip to content

Commit b271c6e

Browse files
committed
fix: remove some exclusions
1 parent 03a27c7 commit b271c6e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/helpers/config.js

-9
Original file line numberDiff line numberDiff line change
@@ -146,15 +146,6 @@ exports.configureHandlerFunctions = ({ netlifyConfig, publish, ignore = [] }) =>
146146
)
147147
}
148148

149-
const reactRoot = resolveModuleRoot('react')
150-
if (reactRoot) {
151-
netlifyConfig.functions[functionName].included_files.push(`!${reactRoot}/**/*.development.js`)
152-
}
153-
const reactDomRoot = resolveModuleRoot('react-dom')
154-
if (reactDomRoot) {
155-
netlifyConfig.functions[functionName].included_files.push(`!${reactDomRoot}/**/*.development.js`)
156-
}
157-
158149
const sharpRoot = resolveModuleRoot('sharp')
159150
if (sharpRoot) {
160151
netlifyConfig.functions[functionName].included_files.push(`!${sharpRoot}/**/*`)

0 commit comments

Comments
 (0)