Package prettier.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4855 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
498d8b6520
commit
1958623a7a
@ -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))
|
||||||
|
@ -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";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user