From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,URIBL_BLOCKED, URIBL_DBL_BLOCKED_OPENDNS autolearn=ham autolearn_force=no version=3.4.6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1695747906; bh=WjfXhxP2LIqOSi/IettYkJr9KQJWQI5Mg/tpnHe+wxo=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=hW1N38Fw2myVdsrF/ruYxDHWJ64FX19IHZaA7yK0wWr6cTOLJCdh/YuD9uWeNATGv TusAUQk1c0+KR96vBMj3sq1WMywMDi+E5Wu0xaAqaKPnuOIleNVa7SL1RfxBQLA8RL lRCZVvc9hZFWs9McFE9ABxY5bi59achoz+YBfV9JeYzyJ7WBp0h1PzJKl8xHzMOZWg imnkNGbfBp+G9v60pmKpUzbYRFIoq0u8F7hnLXIX/XtgasAYFytRTFPDVMY84fRZwc MK5FuHdDK/eUd9c0Scweisc3UMSsNC0TBXTNsvWePNr0666ujFlyPY+4PsDTaC7ufy IZ3pAi0U9JHpQ== Received: from biznet-home.integral.gnuweeb.org (unknown [182.253.126.208]) by gnuweeb.org (Postfix) with ESMTPSA id B311B24B75A; Wed, 27 Sep 2023 00:05:03 +0700 (WIB) Date: Wed, 27 Sep 2023 00:04:57 +0700 From: Ammar Faizi To: Muhammad Rizki Cc: Alviro Iskandar Setiawan , Irvan Malik Azantha , Memet Zx , GNU/Weeb Mailing List Subject: Re: [PATCH v1 0/1] Add tailwind configuration Message-ID: References: <20230926120027.516-1-kiizuha@gnuweeb.org> <71837805-a4b6-9a47-4b8d-b49ae199355e@gnuweeb.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <71837805-a4b6-9a47-4b8d-b49ae199355e@gnuweeb.org> X-Bpl: hUx9VaHkTWcLO7S8CQCslj6OzqBx2hfLChRz45nPESx5VSB/xuJQVOKOB1zSXE3yc9ntP27bV1M1 List-Id: On Tue, Sep 26, 2023 at 10:55:38PM +0700, Muhammad Rizki wrote: > That's weird, I tried the similar commands on Windows: > - npm run build:css > - Get-Content .\index.html | ForEach-Object { $_ -replace 'dist', '.' } | > Set-Content .\dist\index.html > - robocopy static dist\static > - npm run build:minify > > Then open the dist index.html file in the browser and it's working properly. > > https://i.ibb.co/GdqLj9y/image.png The prod server will never run Windows. I can't convert those commands to Linux and don't want to figure out the equivalent commands on Linux. Specifically the "Get-Content" and "robocopy". -- Ammar Faizi