node-babel-plugin-add-module exports update
Reply-To: Pirate Praveen <[email protected]>, [email protected]
Resent-From: Pirate Praveen <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian Javascript Maintainers 
<[email protected]>
X-Loop: [email protected]
Resent-Date: Sat, 03 Jul 2021 17:33:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 990458
X-Debian-PR-Package: libjs-autosize
X-Debian-PR-Keywords: 
References: <[email protected]>
X-Debian-PR-Source: autosize.js
Received: via spool by [email protected] id=B990458.16253335164951
          (code B ref 990458); Sat, 03 Jul 2021 17:33:01 +0000
Received: (at 990458) by bugs.debian.org; 3 Jul 2021 17:31:56 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
        (2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
        DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H3,
        RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham
        autolearn_force=no version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 120; neutral, 21; spammy,
        0. spammytokens: hammytokens:0.000-+--H*F:U*praveen,
        0.000-+--H*rp:U*praveen, 0.000-+--U*praveen, 0.000-+--sk:praveen,
        0.000-+--H*F:D*onenetbeyond.org
Received: from confino.investici.org ([212.103.72.250]:36861)
        by buxtehude.debian.org with esmtps 
(TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
        (Exim 4.92)
        (envelope-from <[email protected]>)
        id 1lzjUh-0001HG-Gd
        for [email protected]; Sat, 03 Jul 2021 17:31:56 +0000
Received: from mx1.investici.org (unknown [127.0.0.1])
        by confino.investici.org (Postfix) with ESMTP id 4GHJsf1rF5z11R4;
        Sat,  3 Jul 2021 17:31:50 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onenetbeyond.org;
        s=stigmate; t=1625333510;
        bh=cCY+qyfeli8zt96Jh0RolCWIw4w97+18OA4ZCtQH6vM=;
        h=Date:From:Subject:To:Cc:From;
        b=kn357KVhNqXSKakILcihl7yOmZagGW2DS2PyIOdI5DPmHtV1NxltmaVAMa4NXxKy8
         kL5hzhSgBZ22Y8b6GjjtVtFknouLNvPoLRv2GOghOpPnhpH7QgdRGAO78sQTuzvHp/
         jI8ZcrkDbqXfhvmRp5PQvEMbPswVoXna7p+A/KPs=
Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) 
(Authenticated sender: [email protected]) by localhost (Postfix) with 
ESMTPSA id 4GHJsb6t09z11R2;
        Sat,  3 Jul 2021 17:31:47 +0000 (UTC)
Date: Sat, 03 Jul 2021 23:01:35 +0530
From: Pirate Praveen <[email protected]>
To: [email protected]
Cc: Akshay S Dinesh <[email protected]>
Message-Id: <[email protected]>
X-Mailer: geary/3.38.2
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed

On Sat, 03 Jul 2021 19:37:33 +0530 Pirate Praveen 
<[email protected]> wrote:
 > One possibility is that the add-module-exports plugin is not 
compatible
 > with babel 7's umd plugin (@babel/plugin-transform-modules-umd).

I switched to rollup for generating umd and removed add-module-exports 
plugin and it is working now. Possibly defining "autosize" global with  
@babel/plugin-transform-modules-umd without add-module-exports plugin 
would have worked as well.

But since rollup option works and upstream will be using rollup in 
newer versions anyway, I'll go with this option for now.

-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to