mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
server-esm: Change simple local import statements
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
import marked = require('marked');
|
||||
import htmlSanitizer = require('../html_sanitizer');
|
||||
import importUtils = require('./utils');
|
||||
import htmlSanitizer from "../html_sanitizer.js";
|
||||
import importUtils from "./utils.js";
|
||||
|
||||
function renderToHtml(content: string, title: string) {
|
||||
const html = marked.parse(content, {
|
||||
|
||||
Reference in New Issue
Block a user