Package prettier.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4855 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2024-02-17 18:59:36 +00:00
parent 498d8b6520
commit 1958623a7a
2 changed files with 2 additions and 2 deletions

View File

@ -714,6 +714,7 @@ PACKAGE_DIRS := \
apps/ \ apps/ \
core/ \ core/ \
deps/codemirror/ \ deps/codemirror/ \
deps/prettier/ \
deps/lit/ deps/lit/
RAW_FILES := $(filter-out apps/blog% apps/gg% apps/issues% apps/welcome% apps/journal% %.map, $(shell find $(PACKAGE_DIRS) -type f)) RAW_FILES := $(filter-out apps/blog% apps/gg% apps/issues% apps/welcome% apps/journal% %.map, $(shell find $(PACKAGE_DIRS) -type f))

View File

@ -533,8 +533,7 @@ static const char* _ext_to_content_type(const char* ext)
{ {
if (ext) if (ext)
{ {
if (strcmp(ext, ".js") == 0 || if (strcmp(ext, ".js") == 0 || strcmp(ext, ".mjs") == 0)
strcmp(ext, ".mjs") == 0)
{ {
return "text/javascript; charset=UTF-8"; return "text/javascript; charset=UTF-8";
} }