From c05cb532937117a2ea1a495cb0f767b17a64e83a Mon Sep 17 00:00:00 2001 From: Mihail Stoykov <312246+mstoykov@users.noreply.github.com> Date: Mon, 15 Jul 2024 10:46:48 +0300 Subject: [PATCH] Update js/bundle.go Co-authored-by: Oleg Bespalov --- js/bundle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/bundle.go b/js/bundle.go index cbbddf94d378..93cfdf3c4acf 100644 --- a/js/bundle.go +++ b/js/bundle.go @@ -439,7 +439,7 @@ func (b *Bundle) setInitGlobals(rt *sobek.Runtime, vu *moduleVUImpl, modSys *mod warnAboutModuleMixing := func(name string) { warnFunc := rt.ToValue(func() error { return fmt.Errorf( - "you are trying to access identifier %q, this likely is due to mixing ESM and CommonJS syntax."+ + "you are trying to access identifier %q, this likely is due to mixing ECMAScript Modules (ESM) and CommonJS syntax."+ "This isn't supported in the JavaScript standard, please use only one or the other", name) })