note: this doesn't affect code that uses `require(...
# general
b
note: this doesn't affect code that uses
require('lodash')
within the actual function closure because pulumi interprets that differently and doesn't try to serialize anything. It's only if you use
import
or
require
outside of the function closure and then use that imported library within the closure