使用 iife 汇总外部路径

Rollup external paths with iife

我在 Rollup api 页面上找到了下一个代码片段。 如果我使用 iife 而不是 amd。 Rollup 如何在 bundle 中定义它? 或者它会期望前面的