icepkg
icepkg copied to clipboard
不完整的rollup plugin hooks
Do you want to request a feature or report a bug?
bug
What is the current behavior?

当前pluginContainer 只暴露的有限的hooks 而且通过手动调用显然是不合理的,会导致很多rollup插件不能用
What is the expected behavior?
不应该对rollup插件的hooks进行阉割,而且更不推荐手动调用hooks 应该让rollup自行托管
icepkg如果有什么定制 应该也通过插件形式来处理
当前 Transform 模式和 Bundle 模式的构建流程确实存在不统一,并且也不对齐。理论上要在下个大版本中,Transform 模式直接使用 Rollup(开启 output.preserveModules) 进行编译,不会继续使用 pluginContainer