feat: convert all files to esm
This commit is contained in:
parent
ef6923ece6
commit
e8fd3a17d2
34 changed files with 202 additions and 228 deletions
|
@ -1,7 +1,3 @@
|
|||
const path = require("path");
|
||||
import path from "path";
|
||||
|
||||
const getFontUrl = (src) => path.join("/assets/fonts", src);
|
||||
|
||||
module.exports = {
|
||||
getFontUrl,
|
||||
};
|
||||
export const getFontUrl = (src) => path.join("/assets/fonts", src);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue