| 05:12 | <Jack Works> | but separately, didn't we want to provide some kind of access to AbstractModuleSource from the global? |
| 05:16 | <Jack Works> | not viable... it requires a parser (and it basically breaks CSP?) |
| 10:58 | <Luca Casonato> | not viable... it requires a parser (and it basically breaks CSP?) loadHook, and instantiateHook (one corresponding to source phase imports, other to source -> instance) |
| 15:22 | <Kris Kowal> | not viable... it requires a parser (and it basically breaks CSP?) ModuleSource and the analogues for other languages. But it is true that those can’t attach CSP. But also, pure assets are not in general executable, so CSP might not be germane for the cases you’d want this feature. |
| 15:24 | <Justin Ridgewell> |
This is actually a really good change for bundlers |
| 15:25 | <Justin Ridgewell> | We'd be able to support the normal case with static analysis, but it if they did anything dynamic we would have deopted the entire graph. This makes it foolproof. |
| 15:28 | <Kris Kowal> | Has implications for the properties of a ModuleSource instance. We could reveal whether each import.<phase> is used. |