[Pkg-javascript-devel] Fwd: [Debian Wiki] Update of "Javascript/Nodejs/Transitions/Babel7" by Praveen A
Pirate Praveen
praveen at onenetbeyond.org
Fri May 15 03:11:02 BST 2020
On Thu, May 14, 2020 at 5:58 pm, Pirate Praveen
<praveen at onenetbeyond.org> wrote:
>
>
> On Thu, May 14, 2020 at 1:38 pm, Xavier <yadd at debian.org> wrote:
>> Le 14/05/2020 à 13:36, Xavier a écrit :
>>> Le 14/05/2020 à 13:28, Xavier a écrit :
>>>> Hi,
>>>>
>>>> looking at node-es6-promise: problem is not in reverse
>>>> dependencies but
>>>> in node-es6-promise itself:
>>>>
>>>> `require("es6-promise").Promise` is undefined
>>>
>>> I pushed a temporary test to show the problem
>>
>> I think we should replace webpack by rollup, following the upstream
>> build given in Brocfile.js (with babel7 fix)
>
> The issue is add-module-exports plugin. I'm doubtful switching to
> rollup will help, but you can try if you think it is worth it.
I fixed it by bringing back add-module-exports plugin and using babeljs
for node part (libjs part still uses webpack). I think we will have to
keep node-babel-add-module-exports package but it should not be blocker
to removing src:node-babel as it has not depends or build-depends on
babel 6.
More information about the Pkg-javascript-devel
mailing list