#Reason for "Following modules were not evaluated"
6 messages · Page 1 of 1 (latest)
to elaborate more: why in this case https://github.com/denoland/deno/pull/19125/files it is required to have esm_entry_point?
If you are snapshotting there must be an entry point. You can use it "later" - all files passed to extension must be evaluated before snapshot is created
Oh sorry - it should have been you can't use it "later"
so my esm_entry_point file will just import all modules and not do anything in it? seems redundant
You have to explicit import all the files you list in esm configuration in your esm_entry_point - otherwise you will get this panic. Yes, it's a bit redundant, but it's a sanity check that you don't snapshot some files that don't get used.