IIFE vs ES output format
xiaohk opened this issue · 0 comments
xiaohk commented
Hello, right now the default output format is iife
in the rollup configuration. I am wondering if iife
is recommended for Svelte projects comparing to the es
module format? I can make the es
format work if I add a type='module'
in the index.html
, but I am not sure about the pros and cons of these two formats.
Line 35 in 4fd09c2