[Pkg-javascript-devel] Rollup 3
Nicolas Mora
nicolas at babelouest.org
Mon Oct 17 14:04:47 BST 2022
Le 2022-10-16 à 00 h 19, Yadd a écrit :
>> If I build using ollup --bundleConfigAsCjs -c, build fails with the
>> following error:
>>
>> [!] TypeError: nodeResolve is not a function
>
> Hi, replace
>
> const nodeResolve = require('@rollup/plugin-node-resolve')
>
> by
>
> const {nodeResolve} = require('@rollup/plugin-node-resolve')
>
Thanks, the build works now!
I'll upload my packages to experimental in the next days.
Also, you mentioned the package node-i18next-xhr-backend in the rollup-3
build-dep list, this package has been removed from unstable last year
since it is now replaced with node-i18next-http-backend, which does not
uses rollup.
/Nicolas
More information about the Pkg-javascript-devel
mailing list