zulip-icons: Rename to *.cjs.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-11-12 22:16:26 -08:00 committed by Tim Abbott
parent 73f7818510
commit daa9552548
3 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import "../blueslip.ts";
import "../../third/bootstrap/css/bootstrap-btn.css";
import "simplebar/dist/simplebar.css";
import "font-awesome/css/font-awesome.css";
import "../../images/icons/zulip-icons.font.js";
import "../../images/icons/zulip-icons.font.cjs";
import "source-sans/source-sans-3VF.css";
import "source-code-pro/source-code-pro.css";
import "@fontsource-variable/open-sans";

View File

@ -95,7 +95,7 @@ const config = (
},
// Generate webfont
{
test: /\.font\.js$/,
test: /\.font\.cjs$/,
use: [
MiniCssExtractPlugin.loader,
{
@ -114,6 +114,7 @@ const config = (
},
},
],
type: "javascript/auto",
},
// Transpile .js and .ts files with Babel
{