mirror of https://github.com/zulip/zulip.git
zulip-icons: Rename to *.cjs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
73f7818510
commit
daa9552548
|
@ -6,7 +6,7 @@ import "../blueslip.ts";
|
||||||
import "../../third/bootstrap/css/bootstrap-btn.css";
|
import "../../third/bootstrap/css/bootstrap-btn.css";
|
||||||
import "simplebar/dist/simplebar.css";
|
import "simplebar/dist/simplebar.css";
|
||||||
import "font-awesome/css/font-awesome.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-sans/source-sans-3VF.css";
|
||||||
import "source-code-pro/source-code-pro.css";
|
import "source-code-pro/source-code-pro.css";
|
||||||
import "@fontsource-variable/open-sans";
|
import "@fontsource-variable/open-sans";
|
||||||
|
|
|
@ -95,7 +95,7 @@ const config = (
|
||||||
},
|
},
|
||||||
// Generate webfont
|
// Generate webfont
|
||||||
{
|
{
|
||||||
test: /\.font\.js$/,
|
test: /\.font\.cjs$/,
|
||||||
use: [
|
use: [
|
||||||
MiniCssExtractPlugin.loader,
|
MiniCssExtractPlugin.loader,
|
||||||
{
|
{
|
||||||
|
@ -114,6 +114,7 @@ const config = (
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
type: "javascript/auto",
|
||||||
},
|
},
|
||||||
// Transpile .js and .ts files with Babel
|
// Transpile .js and .ts files with Babel
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue