构建不会通过,抛出以下错误:
Error: Entry module cannot be external
这似乎是由此处的更改引起的: https :
签入这样的设置:
index.ts
:
export * from './index2';
index2.ts
:
// doesn't matter
import typescript from 'rollup-plugin-typescript2';
export default {
input: './index.ts',
output: {
format: 'cjs',
file: './dist/build.js',
},
plugins: [
typescript()
]
}
我也有同样的问题。 0.20.0
因为这个破坏了我的构建!
我被困在0.19.0
😜
esm 格式同样的问题
我所有使用 rollup-plugin-typescript2 的项目都存在同样的问题。
同样的问题破坏建筑
版本 0.20.0 也有同样的问题
两天前我疯狂地搜索了这个并放弃了。 看来我没疯! 好极了! :tada:
呃,我应该真正阅读文档......现在尝试使用 0.20.1
0.20.1 有效: @jansiegel @ezolenko是否可以关闭该问题?
最有用的评论
呃,我应该真正阅读文档......现在尝试使用 0.20.1