Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Arno Welzel Newsgroups: comp.lang.javascript Subject: Re: Using a single module Date: Thu, 24 Sep 2020 19:34:50 +0200 Lines: 29 Message-ID: References: <67Wdnb4wtM6Kr_nCnZ2dnUU7-aPNnZ2d@westnet.com.au> <2f1bf4d2-d350-4da1-8bfa-3af3a0ea60d3o@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net BqxpkhqqUshgaf+KX5JBcQ76EIvThKCtv0h3ZFp7C5Ncxi2Dbl Cancel-Lock: sha1:ADuPwjy4tKHL+JpAJNyPxpf6WHg= In-Reply-To: <2f1bf4d2-d350-4da1-8bfa-3af3a0ea60d3o@googlegroups.com> Content-Language: en-US Xref: csiph.com comp.lang.javascript:38850 On 20.09.20 11:42, Julio Di Egidio wrote: > On Sunday, 20 September 2020 11:26:27 UTC+2, Arno Welzel wrote: >> Andrew Poulos: > >>> In index.js I have: import { ... >> >> Why do you import a module within another module? The idea is to have a >> script and one or more modules - but not modules importing other modules. >> >> Also see: >> >> > > What are you even talking about? > > > > Notice that only a module can import from a module... I stand corrected. Of course you're right. Also see: -- Arno Welzel https://arnowelzel.de