diff --git a/js/bundle.go b/js/bundle.go index 39368aa40b3..a6c28290b70 100644 --- a/js/bundle.go +++ b/js/bundle.go @@ -197,7 +197,7 @@ func (b *Bundle) populateExports(updateOptions bool, bi *BundleInstance) error { } switch k { case consts.Options: - if !updateOptions { + if !updateOptions || v == nil { continue } var data []byte