father icon indicating copy to clipboard operation
father copied to clipboard

extraRollupPlugins 中的 rollup-plugin-web-worker-loader问题

Open luchaoqun125 opened this issue 5 years ago • 1 comments

配置如下: `import webWorkerLoader from 'rollup-plugin-web-worker-loader';

export default { cjs: 'rollup', esm: 'rollup', runtimeHelpers: true, extraRollupPlugins: [ webWorkerLoader() ] }`

web-worker链接地址:https://www.npmjs.com/package/rollup-plugin-web-worker-loader

image

在rollup中配置没问题,在umi中有问题报错。

luchaoqun125 avatar Dec 10 '19 10:12 luchaoqun125

father v2.29.2 使用 create-umi 的 library 脚手架没能复现,此问题是否还存在?

PeachScript avatar Jan 14 '20 16:01 PeachScript